-
Loading movies within a main scene
Here is my problem:
I am creating a website in Flash MX and ideally, I have a main Scene (Main Page, Homepage, etc.) For every subsequent instance (i.e. About Page, Portfolio Page, etc.), I want to call it to the main Scene as a separate movie clip with each clip cancelling out each other as they are called. What is the best way of achieving this task?
Any thoughts are deeply appreciated!
-
Left-Handed Flash User
Hiya
The way I do it is to make each section a seperate swf file and then call it in using loadMovie()
Let's say you attach the code to the buttons on your navigation system. It would look something like this :
on (release) {
loadMovie("porfolio.swf", "_level20");
}
If you make sure that ALL the sections load into the SAME level (_level20 in the example), then the new section replace the old section.
Mick
-
If you use the above the correct syntax would be...
code:
on (release) {
loadMovieNum("porfolio.swf", 20);
}
If you'd prefer to load your external movies in a container clip, along with a generic preloader in the main movie, check this...
http://www.flashkit.com/board/showth...hreadid=456020
If you want to add a transition between loaded movies, this...
http://www.kirupa.com/developer/mx/p...transition.htm
-
Thanks mickbrit55 and oldnewbie. I implemented the code you supplied with a few manipulations and it worked smoothly. Thanks again .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|