all groups > macromedia flash sitedesign > june 2003 >
You're in the

macromedia flash sitedesign

group:

playing a movie whilst another movie loads


playing a movie whilst another movie loads leight
6/29/2003 11:32:05 AM
macromedia flash sitedesign:
hi guys,
i was just wondering how i would go about making something.

im wanting to have a banner add right, made with flash mx, and im wanting that to play (its on a site) while others are loading... while they are loading the movie is looping until the other movie has loaded. when the 2nd movie has loaded the first movie fades into the second movie and that loops for a while until the 3rd movie loads and so on...

how would i go about making this???

thanks heaps...


Re: playing a movie whilst another movie loads Peter Lee
6/30/2003 1:52:20 AM
to load the movie, use something like movieHolder.loadMovie("asdf.swf");

to detect when the movie is loaded, put something like

onClipEvent(data) {
// movie has loaded
}

on the movieHolder movie clip

to fade the first movie away, you can use something like

onClipEvent(enterFrame) {
if(shouldFadeAway) {
theMovie._alpha -= 10;
}
if(theMovie._alpha <= 0) {
shouldFadeAway = false;
}
}

and of course you need some modifications to these codes, but I think
you get the idea.

Peter

--
Peter Lee

Novel Games - Free Game Downloads and Free Flash Games
Visit us at: http://www.novelgames.com



[quoted text, click to view]
AddThis Social Bookmark Button