PDA

View Full Version : Load Movie Question HELP!


QuietStorm
02-21-2003, 09:59 AM
Okay, I tried looking for this on the site, and on various other sites, and can't find a solution, so please don't flame me for posting this :)

I have a main movie and have other movies that are to be loaded within it. I've tried using this and it works:

on (release) {
loadMovie ("page1.swf", "/main");
}

Now the effect I am trying to do, can be best described as first using a "curtain" to cover the previous section (creating a smooth transition), then reopening it to reveal a new section. When using this command however, the previous movie seems to "clear," then the curtain effect occurs (the curtain closing is part of the movie that is to be loaded). This however completely makes the curtain effect useless.

I'm pretty sure the prob is within the main movie , because I experimented using levels and it worked (however each link must be opened in a certain order).

If you still can't picture what I am trying to do, go to http://www.2advanced.com and notice how when you click a link, it "wipes away" the previous content.

Please Help!!

Thanks in Advance,
QS

subquark
02-21-2003, 01:01 PM
I think the way it's done in 2advanced is by using either a movieclip or loaded movie that is separate from the main content. If you go to 2advanced and load up the main site, then disconnect the internet, you'll see that when you select a new, unloaded section, the screen "wipes" away and says loading, but it will never load. So there is an mc or swf that is just an "opening wipe" and a "closing wipe".

So when you call the "next" section, you do something like:

loadMovieNum("next.swf", 4);
_level10.loadwipe.gotoAndPlay("loadwipe");


and then when the next swf is loading (in a keyframe in next.swf):

_level10.gotoAndPlay("endwipe")

I'm not saying that's how they did it, but you get the same type of effect.

QuietStorm
02-22-2003, 07:45 AM
I still don't get it. What exactly does this AS do (hey I am still a beginner)?

_level10.loadwipe.gotoAndPlay("loadwipe");

I tried using it (for flash 5) and it doesn't work. This is getting real frustrating. :mad:

Thanks anyways,
QS

QuietStorm
02-22-2003, 08:23 AM
I just uploaded a simple sample movie w/ main, wipe, and section movies. If anyone could help me insert the AS in the buttons, I would really appreciate it.

Thanks,
QS