Movie Question Help?
I Have some web encoded video on a sever that i want to be able to play by linking it to that url, does flash mx 2004 have this ability and if so how? I could have it open in a popup window but i would like it to open in the swf application if possible, also i dont want to use the media playback method ont he count that it doesnt match the theme of my webpage at all. Can anybody help with those exceptions?
as always, it will be greatly appreciated
SMR
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 07-29-2004, 11:05 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Control A Movie Symbol In A Movie Which Is Loaded Intro Another Movie?
HI guys,
I need help with some script. I have a movie, which is my main movie, and to which I load all other movies, like sound clips, other related movie which load on request. the problem is with the sound movie which I created, it's a separate file and it has a sound loop which starts and then if an button is clicked it stops, and then starts again if the buttons is pressed again. Also in this sound movie I have another movie symbol with audio bars animation which plays only when the sound is playing, and then it stops when the sound is stopped. It works fine with this code:
on (release) {
if (i==1) {
s.start(0,999);
i = i*(-1);
tellTarget ("/sound_bars") {
gotoAndPlay (1);
}
} else {
s.stop();
i = i*(-1);
tellTarget ("/sound_bars") {
gotoAndPlay (10);
}
}
}
...on it's own, but when it is loaded into another movie it works only partially, the sound stopps but the audio bar animation which you see here as instance name "sound_bars" is not working, it keeps playing even when the button is pressed. but like I said the sound stopps. So what I need to know is how to control that movie symbol which is inside a movie called soundloop1, which is loaded into my main movie. I know it's a level / tell target issue, but I just cannot figure out how to control it from another movie. If you can help me that would be greatly appreciated Thanks.
--
elfe.
How Do I Jump From A Movie Inside A Movie Back Out To The Main Movie?
Im using MX Pro, i have a flash movie (Movie1) that has a button. I coverted the button to a movie symbol(movie2). i double click that movie symbol(movie2) and it opens into its own smaller movie. i am trying to write the actionscript for a button in the smaller movie (movie2) to take me to scene 2 of the Movie1. PLEASE HELP !!
Client Loading My AS3 Movie Into An AS2 Movie, Need To Close My Movie Afterwards...
I created an AS3 animation, and a client is attempting to load my AS3 animation into an AS2 movie that someone else created. They emailed me and told me to add this to the end of my animation...
ActionScript Code:
_root.gotoAndPlay("Start");
I knew this wasn't going to work, and it won't even compile and throws an error. I know how to close an external movie using event triggers and listeners using AS3, but not really sure how it works with AS2. Any ideas?
Problem Loading A Movie Into A Movie Which Loads A Movie
Problem loading a movie into a movie which loads a movie
if you want to skip a defined explanation feel free to skip to the bottom ---- section.
I tried as usual to search the forums and came up with obscure references to this problem. (now that I've said that someones going to search for it and find the exact thread I should have found :p)
I have 4 movies.
A) Main movie (a website for a starting jewellery company currently found at http://zephn.com/aboutface/
B) Gallerydirectory (a movie in which there are several buttons which load various thumbnail movies)
C) Thumbnail movies (there are several options of these but each is filled with buttons that load swfs which has a picture in it)
D) Defined image swf's (various photos inserted into swf's that have a fade effect applied to them)
Now that I have explained the set up I will explain that curently this works but I am trying to alter this slightly and am encountering problems.
Instead of loading just movie "D" at the end of this chain, which has a picture inserted into it prior; I want movie "D" to load a jpeg into itself "when" it loads. I beleive the term used is dynamically.
This allows for image changes to the website without having to insert pictures to the movie "D"'s anymore.
I can just drag new jpegs into a directory and the movie set up will just load the new images instead of having me edit every individual swf.
-------------NOW the problems I am having is I am unsuccessful at creating a movie which loads another movie in a defined movie clip, which by itself loads another movie or jpg within itself.
here is my working source to date. Can anyone nudge me in the right direction?
In this source I have deleted all the excess content from the site to make it more easy on the eye and on translating what is going wrong. I have also provided three examples of what I have tried to do.
In example "1" I have loaded a jpg successfully.
In example "2" I have loaded a swf successfully.
In example three (the desired result) I have unsuccessfully attempted to load a swf which loads a jpg into a movie clip in another part of movie "A".
http://www.zephn.com/kirupa/aboutface.zip
Much appretiation to anyone who can help.
Problem Loading A Movie Into A Movie Which Loads A Movie
Problem loading a movie into a movie which loads a movie
if you want to skip a defined explanation feel free to skip to the bottom ---- section.
I tried as usual to search the forums and came up with obscure references to this problem. (now that I've said that someones going to search for it and find the exact thread I should have found :p)
I have 4 movies.
A) Main movie (a website for a starting jewellery company currently found at http://zephn.com/aboutface/
B) Gallerydirectory (a movie in which there are several buttons which load various thumbnail movies)
C) Thumbnail movies (there are several options of these but each is filled with buttons that load swfs which has a picture in it)
D) Defined image swf's (various photos inserted into swf's that have a fade effect applied to them)
Now that I have explained the set up I will explain that curently this works but I am trying to alter this slightly and am encountering problems.
Instead of loading just movie "D" at the end of this chain, which has a picture inserted into it prior; I want movie "D" to load a jpeg into itself "when" it loads. I beleive the term used is dynamically.
This allows for image changes to the website without having to insert pictures to the movie "D"'s anymore.
I can just drag new jpegs into a directory and the movie set up will just load the new images instead of having me edit every individual swf.
-------------NOW the problems I am having is I am unsuccessful at creating a movie which loads another movie in a defined movie clip, which by itself loads another movie or jpg within itself.
here is my working source to date. Can anyone nudge me in the right direction?
In this source I have deleted all the excess content from the site to make it more easy on the eye and on translating what is going wrong. I have also provided three examples of what I have tried to do.
In example "1" I have loaded a jpg successfully.
In example "2" I have loaded a swf successfully.
In example three (the desired result) I have unsuccessfully attempted to load a swf which loads a jpg into a movie clip in another part of movie "A".
http://www.zephn.com/kirupa/aboutface.zip
Much appretiation to anyone who can help.
Problem Loading Movie Into Movie Into Movie Ect.
Problem: I Have a Main movie swf. where my navigation is. In that swf. is a blank movie clip where all the external swf./acting as pages. load into it. On of the movies that loads into it has buttons that I have linked to other swf. files/ is it possible to click a button in a swf file to make it unload and load a swf. in a different movie?,,I know that sounds confusing. sorry.
Right now I am toying with the idea that its possible if the blankmc is in a shared library. or maybe some export the blank movie for run time sharing?...wich I haven't a clue on how to do.
THanks fro your time
Patrick
A Movie In Side A Movie Inside Another Movie
Hi , i'm creating a website for a group and i'm pretty much done with it.
My problem is I have the first swf loading the second movie like frame - the next section of the site. In that second movie I have a dynamic list which I want to load another movie into. it work fine from the point 2->3 but not if i run it like it was a whole 1->2->3
I'm not sure if I have to do something more specific with the patch for the third movie or if flash is just not capable of it.
please help! thank you for your time.
I made a picture that might make it a little easier to follow at:
http://tacticalblunder.com/~xedster/concept.JPG
Loading A Movie Into A Movie Thats Been Loaded In A Movie..
.... yeah I know!
here for more info
I'm pretty sure the problem is with the third movie. If I open the second movie (datagprogram) then the movie that loads into that works fine. but when I'm in the main movie (datag) the datagprogram movie loads but the third movie doesn't load properly.
I did have a conflict which I think I resolved so it works a little better but my link on the right hand side still doesn't come up and the program text loads in the wrong place. (this doesn't happen when you run the program movie seperately!)
any got any ideas?
help as always very much appreciated!
AD
Getting One Movie To Load A Movie Into A Seperate Movie.
I've been looking around, haven't founa nythign to help me out though. Not sure if it's a newbie question or whether it's even very possible. I'm designing a CSS layout and I have a flash movie as a menu, and then I have a flash movie as the conetent area. Say the menu had two buttons home and... gallery. What would happen is you would come to the page. and the content movie would load your home flash movie, easy enough! well what do I have to include in the gallery button to make it load the gallery movie into the content area. In other word how to I send a call from the menu to the content area telling it to loadmovie? Any help would be greatly appreciated and I know that it would make more sense to do the whole site in flash but I really like my layouts and I like flash so i'm trying to find a sort of middle ground.
-Jeff
[edit]
Is it possible to do a call to the content movie to from a javascript or regular html menu?
Relative URL(?) For Load Movie Into Movie In Movie
I need help to understand how to make a movie loaded into another movie understand it´s relative position in the folder system on my server.
example:
A.swf is located i folder MAIN. B.swf located in folder B in folder MAIN loads into A.swf. Then I need to load 01.jpg located in folder PICT in folder B into B.swf without doing; URL: B/PICT/01.jpg but rather URL: PICT/01.jpg since B.swf is already in folder B.
As you understand I´m not the script guru. Grateful for hints on where to look to learn more about this!
Using A Button In A Movie Clip To Control The Movie(and Not Movie Clip) Timeline
Ok i have a button placed in a movie clip. I want this button, when released, to go in another scene, frame one, on the movie(scene) timeline and not on the movie clip timeline.
So i tried: gotoAndPlay("mission", 1); (mission is the name of my scene)
But it goes to the frame 1 of my movie clip, It would be great if someone could tell me how i can control the movie timeline while my button is in a movie clip
thaks
Vakarm
Loading Movie Into Main Timeline From Movie Clip Within Main Movie
Hi there,
I'm having major difficulties loading external SWF's into my main movie. The button actions are in a movie clip within the main movie. I've used the following AS to load in my external SWF files on higher levels:-
mybutton_bn.onRelease {
loadMovieNum("two.swf",1);
unloadMovieNum(2);
unloadMovieNum(3);
unloadMovieNum(4);
unloadMovieNum(5);
}
Similarly, my external text files are not loading!
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
my_txt.htmlText = myLoadVars.myHTMLdata;
}
myLoadVars.load("textfile.txt");
All works fine until I upload to the server. It's really driving my around the bend. Any suggestions will be gratefully received.
Many thanks
Q.
Passing Variables From Loader Movie To Loaded Movie, Flash Satay Method
I like the Flash Satay method for its clean integration and standards-compliance, however there are still some things I can't manage the way I want to... I'm trying to implement a working method to pass variables from the loader movie to the loaded movie. As you may know, the Flash Satay method uses a small SWF file which uses a bit of code to load the desired movie, all in order to allow IE browsers to retain streaming capabilities when rendering Flash content through the <object> tag. Basically it's just a small file with the following AS2 code in the first frame:
loadMovieNum(path, 0);
This means the c.swf file is ENTIRELY replaced at level0 with the desired movie, and any variables that were passed to the loader movie turn to smoke.
I'm trying to generate a querystring using all other variables the loader movie receives, and pass that along with the filename for loadMovieNum. This seems to be working very well in most cases, but whenever there's a URL in the querystring (even URLEncoded), BAM, everything turns to lowercase... EVERYTHING... here's an example:
c.swf?path=banner.swf&myLifeSUCKS=true&Icantbelieve=ITSNOTBUTTER
this successfully loads banner.swf in place of c.swf, with the following correct querystring appended
banner.swf?myLifeSUCKS=true&Icantbelieve=ITSNOTBUTTER
If I try:
c.swf?path=banner.swf&clickTag=http://www.myurl.com/&ANOTHER=variable
this successfully loads banner.swf in place of c.swf, but I end up with lower-cased querystring (all of it!!):
banner.swf?clicktag=http://www.myurl.com&another=variable
what happens to my capital letters?? I need these to remain case-sensitive as there is no saying how the loaded movies are programmed. The generally accepted convention for "clicktag-enabled" banners is to use _root.clickTag as the link button's URL...
Even URL-encoding the URL doesn't change this
For reference, here's the HTML snippet and ActionScript 2 code I use:
---- html ----
<object type="application/x-shockwave-flash" data="c.swf?path=banner.swf" width="728" height="90">
<param name="movie" value="c.swf?path=banner.swf" />
<param name="FlashVars" value="clickTag=http://www.google.com/" />
</object>
Attach Code
----c.swf----
var queryString:String = "";
for (var i in _root){
if (i != "path" && i != "queryString" && i != "$version"){
if (queryString) { queryString += "&"; }
queryString += i + "=" + _root[i];
}
}
if (queryString != "") {
loadMovieNum(_root.path + "?" + queryString,0);
} else {
loadMovieNum(_root.path,0);
}
Edited: 10/01/2008 at 10:40:48 AM by Inzoum
Having Problems Loading An External File Into A Blank Movie Clip In The Parent Movie.
alright I have a main swf. and there is an empty movie clip called window1.
I have an external swf that is loaded that contains the menu. i have the clip loaded into level 14.
i am having problems having the menu load an swf into the empty movie clip.
Code:
on (release) {
loadMovie("about.swf", _parent.window1, "GET");
}
in firefox, the code above loads the swf, but it replaces the menu. it does the same thing in ie.
Code:
on (release) {
loadMovieNum("contact.swf", _parent.window7, "POST");
}
and this bit of code makes the swf open in another browser tab in firefox, and in ie it replaces the whole parent movie.
I need the menu and the parent movie to stay intact.
i really need help with this asap.
Having Problems Loading An External File Into A Blank Movie Clip In The Parent Movie.
alright I have a main swf. and there is an empty movie clip called window1.
I have an external swf that is loaded that contains the menu. i have the clip loaded into level 14.
i am having problems having the menu load an swf into the empty movie clip.
Code:
on (release) {
loadMovie("about.swf", _parent.window1, "GET");
}
in firefox, the code above loads the swf, but it replaces the menu. it does the same thing in ie.
Code:
on (release) {
loadMovieNum("contact.swf", _parent.window7, "POST");
}
and this bit of code makes the swf open in another browser tab in firefox, and in ie it replaces the whole parent movie.
I need the menu and the parent movie to stay intact.
i really need help with this asap.
Fast Forward And Rewind Buttons To Control Movie Clips AND Main Movie
I am creating a software training movie in Flash (MX). The main movie has text, sound and animations directly on the main timeline, and also includes external swfs (video screen captures) that are loaded dynamically into a movieclip target.
loadMovie("bkr_openpgm.swf", "mc_finvideo");
I'm not importing these videos because they can be quite large after importing (my video capturing software can export as swf and avi). I will never play more than one movieclip at a time (so I use the same movieclip to load all movies: mc_finvideo), and there can be many frames in between movie clips where there's only non-movieclip stuff going on on the main timeline. After I finish playing a movie clip , I unload the movie from the movieclip using the following on the frame on the main timeline where the movieclip should end
mc_finvideo.unloadMovie()
I have play, pause, fast forward and rewind buttons on the main timeline that control the main movie just fine. The play and pause buttons also control the movieclip fine.
However, I'm having problems with the rewind and fast forward controlling the movieclip. The button logic works fine (moves play ahead or back 100 frames) UNLESS I click the rewind button at a point within 100 frames AFTER a movie clip has unloaded. Then (assuming the last movie clip was at least 100 frames long), the movie goes back to a frame where there should be a movie loaded, but of course there isn't, since the frame that loaded the movie clip wasn't hit.
Here's the code for the rewind button's on release event:
intCurrFrame = math.round(_currentframe);
intMCCurrFrame = math.round(mc_finvideo._currentframe);
//if the movieclip is closer than 100 frames
// to the beginning, go back 100 frames
// otherwise unload it
if ((mc_finvideo._currentframe - 100) > mc_finvideo._totalframes) {
mc_finvideo.gotoAndPlay(intMCCurrFrame - 100);
} else {
mc_finvideo.unloadmovie();
}
this.gotoAndPlay((intCurrFrame - 100));
The fast forward button is similarly problematic -- if I click fast forward within 100 frames of a frame where a movie clip will load, the frame that the movie fast forwards to has no movie clip playing because the frame that loads the clip was skipped over.
Can anyone help me make this work? (Maybe I'm going about this whole thing the hard way?)
I can post a sample fla if it will help clarify.
Thanks
Having A Button Inside A Movie Clip To Move The Root Movie To Another Frame?
i dont know much about actionscripting so explain to me in simple terms...
i have buttons inside a single movie clip and i want to have each button (when clicked or rollover-ed) move the frame header of the main (root) movie to another position. what actionscript does this require? and will each button actually be "clickable" since they're all encapsulated in ONE movie clip??
thanks
How To Create E-mail With Flash Movie Played On Arrival Automatically (movie Should B
Hi,
I am looking for simple but working solution to send Flash movie as a part of e-mail. I would like to send Flash movie with e-mail (part of e-mail itself or as attachment) and it should start playing as soon as message is downloaded. I was using HTML page as stationary (script was downloaded from the net, with embedded movie as object). It worked perfectly fine as long as I was sending email to myself and it played within Outlook or Netscape. But on other computers with appropriate player was installed nothing happened despite enclosing Flash movie to e-mail.
I believe that it should be simple solutions. Can anybody direct me to place where I find right script or advise how to point flash player to sent movie and make it play.
Best regards
Jacek
jklimasz@bigpond.net.au
Why Do The Main Movie/site Close When I Load External Movie In A New Window?
When i want to load an external movie in a NEW window...why do my main site window close?????
this is how i load a movie in a new window...???
what is wront
_____________________________________________
on(release) {
loadMovie("mymovie.swf", _blank);
}
_____________________________________________
this happens when i test the movie
Thanks
Mirrorman
Movie Clip Runs Slow When There Are Multiple Movie Clips Running
Hi, Can someone help me out? I have made a flash where a movie clip containing text runs at the same time that a second movie clip runs (movie clip 2). I used function updateCursor() to replace the standard mouse symbol with the movie clip symbol (movie clip 2). After the scene runs a few times at the correct speed, everything within it slows down markedly, which I don't want. Why is this happening? Any ideas? I have actually seen something similar in Flash 5...but I can't figure out how to keep this from happening!!
How To Break A Huge Flash Movie Into Smallers And Call One Another From A Main Movie?
Heeelllllpppppp…
My Flash file is huge. It is beyond 16,000 frames, the Flash size limit, as I was told. Therefore, it is not working ---my long narrations stop working. I have four scenes, so I came with a plan B to save my efforts on trying this file to work. I can break my Flash in 4 smaller files and then, call one from another. Is that possible?
How I do that? I will have a main file from with I will call the others. From a secondary file, can I come back to the main movie?
I looked at my action script book, but could not find a specific (or direct) statement about it.)
Thanks, thanks,
Patricia
Opening Flash Movie In Html Window Exact Dimensions Of Movie?
Is there an extension or particular method to get this to happen perfectly.
I have been opening browser windows and setting the dimensions manually in behaviours to the same as the movie dimensions, but its never right. Its often bigger.
there must be a way to do this so that its the same as the flash movie size pretty much cross-browser - its ok...i hold no hope for Netscape
Thanks in advance,
Cesca
PS) Also, what happpens or whats the disadvantage of having a link open up the .swf (as opposed to it embedded in an html file)......sorry if the answer is clear and obvious...its just that on my local network it works so nicely
Control The Play On The Main Timeline From Within A Loaded Movie (not A Movie Clip)?
Question... I have a movie (main movie) that loads another movie (movie 2) automatically. Movie 2 contains a button that loads yet another movie (movie3). Now I’m having trouble with this next part... When movie3 loads I want "main movie" to stop where it’s at in the timeline and stop all other loaded movies until the user clicks another button where upon movie 3 will go away and "main movie" will resume. Movie 2 is like the paper clip guy in Word and movie 3 is my help movie. Therefore, it can be accessed at any point during the main movie and I don’t want to use a goTo command to jump to a frame label or scene. Does anyone have any idea how to control the play on the main timeline from within a loaded movie (not a movie clip)?
Closing A Loaded Movie Clip & Returning To A New Frame In The Parent Movie
I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.
I know this is probably really simple but I can't seem to get it right!
Cheers.
How To Load A Movie In Main Scene While The Command Is Inside A Movie Clip?
Hi all,
Well, I have a scene that has a movie clip, and inside this movie clip there is a button. I want to program that button using ActionScript to loadMovie named "1.swf" inside a container in the main scene (which this movie clip belongs to).
Hope the question is clear and hope to get a fast answer as it is urgent..
Thanks alot in advance.
Regards
[MX04] Imported SWISH Movie To Flash Doc And Only Want To Loop 1 Time Within My Movie
I have a flash movie that I am working on. This is my situation:
- I brought a movie from SWISH max to create an effect to this one tag line
- I exported that movie and imported it into a flash mx 2004 document
- When I preview it dont stop looping!
- I tried creating a setting for it on the SWISH application that says "stop playing at end of movie" but i think it overrides that once its brough over to Flash MX.
Any suggestions how I can take care of this problem withi flash? Thanks!
Saving A Flash Movie As A Quicktime Movie - Actionscripted Movement Is Lost
I am trying to export my flash movie as a quicktime file for use in a dvd. Unfortunately only the tweening done manually occurs in the quicktime file and any movment that is actionscripted does not occur. Is there a way to get the actionscripted movement to work in an exported quicktime movie? Thanks.
Controlling The Main Time Line Of A Movie Via A Button Within A Movie On A Different Level.
Hi there!
I have two movie is two different levels,
Level 5 is my base movie and I am loading another movie on top of this into level 10.
Once the user clicks onto a button within the movie on level 10, I would like the animation in level 5 to stop (the animation runs on the main root timeline of level 5).
Once the user clicks on a different button within the movie on level 10, I would like the animation on the main timeline of the movie in level 5 to start again from the point where it previously left off.
Is this possible?
It would be great if someone could help me out with this.
Thanks, midi_ie
Closing A Loaded Movie Clip & Returning To A New Frame In The Parent Movie
I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.
I know this is probably really simple but I can't seem to get it right!
Cheers.
Problem Loading External Movie Clips Into Target Movie Clip
Hello,
I've been desperately trying to figure how to get this function to work. I created a target movie clip, then assigned an external one to it, but I can't seem to get it to work. Can anyone help me with this and fully explain it so I don't miss anything? I'm using flash professional 8.
Thanks so much!
Rob
Closing A Loaded Movie Clip & Returning To A New Frame In The Parent Movie
I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.
I know this is probably really simple but I can't seem to get it right!
Cheers.
Flash 5 - Load Movie, And Duplicate Movie Clip? URGENT
I have a database of swfs. I'm loading a swf into a movieclip. When I duplicate that movie clip, it duplicates but the loaded swf does not duplicate with it. I've tried using attachMovieclip and I get the same result. Any ideas for a work around?
Duplicate and attach only seem to work when the asset already resides inside the movie clip....is this right? PLEASE HELP!!!!!
Thanx guys.........
Loading A Movie From A Remote Location And Reloading The Main Movie
HELP!!! I have a flash movie that loads a movie (at level0) from a remote location.. There are two movies there, one that stops the movie and another that reloads the main flash movie (I just rename the swf's to toggle which one I want loaded). The problem is, when the second remote swf reloads the main flash swf, it just loops back to playing the remote swf again. I've tried using telltarget to make the main movie play a frame after the actionscript that loads the remote swf, but that doesn't work either. Are there any alternatives to doing this? thanks...
Calling A _root. Variable Of A Movie Clip That Is Loaded Into Another Movie...
My problem is I have two movie clips that i'm working with. The child-clip has a variable and a movie at _level10 (the base of it) that I would like to call when the child-clip is loaded into the parent-clip. I tried _level10.variable but that did not work. And commonly _root brought me to the _root of parent.
How can I get around this?
P.S.
I know there was a way in Flash 4 that you could call instances backwards (//instance) or something like that. But I haven't used Flash 4 in a LONG while.
Plz Help
Load Movie And Jump To A Label In The Loaded Movie At The Same Time
I´m a problem very very importan for an exercise. I asked several times but I´m spanish and my English isn't very well so I think nobody understand me. This is the problem:
I'm a movie an I have to load other different whith loadmovie but I want to go to a label in the second movie at the same time too.
Anybody can tell me what can I do STEP BY STEP please? Thanks
Making Holder Movie Aquire Size Of A Loaded Movie
Kinda simple concept.
In Flash, external movie receives the properties of the movie it loads into, but I was surprised to find myself needing exactly the opposite.
When buttons are pressed, the Holder movie clip instance loads different external movies.
This Holder movie is connected to the windows style Scroll bar that should resize depending on the Holder movie height.
Therefore I need the Holder movie to acquire the height of the loaded movie so that the Scroll bar can resize accordingly.
I wonder if it's at all possible. Simple Movie1._y == Movie2._y doesn't seem to work.
[Edited by turbostas on 04-29-2002 at 06:58 PM]
Load Movie Or Get Url To Make Sizeable New Window For Flash Movie?Etc......
I am making a webisite and want to use a small window without toolbars like you have seen on many well done flash sites.
I wonder how this is done?
I have heard of people using javascript to set the window options but i have yet to find a good tutorial on this topic.
I am hoping someone could point me in the right direction.
Or tell me it all! mooowaaaahh hah haahh
please help yo...
hope someone replies to my woa
brainer
Can You Dynamically Resize A Flash Movie In Embedded In HTML From Within The Movie?
Did that subject line confuse anyone? Hope not.
What I am looking into doing is having a movie that is 200x200 (could be any size, I just randomly chose those numbers).
Inside that movie I have an empty MC that gets .jpg's loaded in using loadMovie() .
Now I would like to be able to resize the Flash movie to the loaded .jpg's width and height....but of course in the HTML, the .swf is hard coded as (in this case) 200x200.
It doesn't look as if it would be possible but I sure would like someone to proveme wrong.
Any help would be appreciated! thanks!
Making A Loaded Movie Its Original Size In A Stretched Movie
lo all is it possable to make a loaded movie [via loadmovie()] display at its origan size in a stretched movie?
i tryed this:
Mheight = Stage.width;
Mwidth = Stage.height;
/// loads the movie into an empty movie clip
mainMovie.loadMovie("main.swf");
// moves the movie clip to the center and resises it to the original size
mainMovie._x = -0;
mainMovie._y = -0;
mainMovie._width = Mwidth;
mainMovie._height = Mheight;
but it doesnt load the movie for some reason! aggh! flash!!
any ideas how i can do this?
cheers guys
Making Loaded Movie Navigation Work On Main Movie
how do i make a movie(navigation with buttons) that has been loaded into one movie(main movie) control aspects of that movie through button actions.
for example: nav movie button making main movie go to a particular scene and load a movie in it.
Targeted Movie Clips Don’t Work Once Loaded Into A Container Movie.
Here’s my problem…
I have several external SWF (child) movies that are to be loaded upon demand into another SWF container (parent) movie file. Pretty straight forward.
Each of the child movies has MCs communicating with other MCs within the same child movie.
For instance the timeline of one MC will have a frame action, which targets another MC instance to play(). Again, Pretty straightforward stuff.
These files work beautifully when viewed independently. The problem is when they are loaded into the parent container movie the target MC functionality no longer works.
I believe it’s because once the child movie is loaded into the parent movie the absolute path of the targeted MC has changed and what was once the “_root” in the child movie is no longer the actual root?
I have tried both methods in the child movie:
//method without using ‘with’
_root.ContentWindow.play();
And using the “with” action like so:
//method using ‘with’
with (_root.ContentWindow) {
play();
}
It would seem that in theory once the Child SWF file is loaded into the Parent SWF file the targeted path would have to have another level in it – cuz now the MC “ContentWindow” is no longer one level down from the “_root” but two levels?
For example: _root.LoadedChildMovie.ContentWindow.play()
Can anybody please help me with this? I’m afraid I have a ton of work that’s relying on this functionality and my deadline is dangerously drawing near!
|