| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jul 2001
Posts: 8
|
Hi i'm working on a projector and i would like to get to grips with the load movie operation and how the levels work, at the moment i am just using this script as a frame action and it seems to work,
loadMovieNum ("Video1.swf", 0); This seems to call the .swf into my projector loadMovieNum ("Video2.swf", 0); unloadMovie ("Video1.swf"); This seems to work also, on the last frame of Video1.swf the above script loads a new movie and unloads the old my .swf's are in the same root directory as the projector and all seems well, what i dont understand is where the levels come into things,and i would like to understand this so if anyone has any info on good Tutorials on this it would be great, just to get my head around Levels and Target ect, TIA Dave. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Aug 2001
Posts: 27
|
The levels are just what they say....what level the movie loads on. Just like layers. The main movie is always level 1 (or 0 I can't remember
) The layer number determins what goes on top of what. For instance, a movie in level 3 would cover up a movie in level 1. Just like a graphic in layer 3 would cover up a graphic in layer 1 (given that the layer 3 was above layer 1 of course) Hope that helps...hope I'm right too |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2001
Posts: 8
|
Thankyou for the explanation, so i geuss loding and unloading directly from the root of the cd in this case is ok however if it was a web based presentation it would be better to load the movies into the various levels with say a blank keyframe at the start and play them as required (so they are sitting there loaded and ready to play) would this be correct, regards Dave.
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Aug 2001
Posts: 27
|
now you got it
![]() or better yet, for web applications, don't load them all at the beginning, just load them when needed so the initial loading time isn't too long. |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
PS - loading into empty MCs on the _root level is always the best way to go in my opinion. it allows for dynamic targetting (when you get to being a higher end scripter) and makes for easier manipulation of content.
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Aug 2001
Posts: 27
|
wouldn't that make for more complicated scripting? Or is that not even a factor?
|
|
|
|
|
|
#7 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
It's really a matter of personal opinion but I find that loading into MCs makes for easier manipulation of visual objects and makes for easier scripting. for instance, you can dynamically reference MC paths but dynamically constructing a level path is more ugly...
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Aug 2001
Posts: 27
|
ah
good thinkin.... |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem With Loading MovieClip Into SUB movie | JakeMX | Components | 2 | 07-28-2004 11:07 PM |
| load movie into another movie | anbis | ActionScript 1.0 (and below) | 0 | 07-27-2004 03:14 PM |
| Visible movie when load | jundat | ActionScript 1.0 (and below) | 2 | 06-29-2003 12:37 PM |
| Print command doesn't work from external movie. | vladc77 | ActionScript 1.0 (and below) | 1 | 05-20-2003 02:40 AM |
| load a movie into a movie but then load an other movie into that loaded movie ? | lesaint | ActionScript 1.0 (and below) | 1 | 03-23-2002 10:16 PM |