Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading swf

Status
Not open for further replies.

werstin

Programmer
Jul 2, 2002
2
US
Hey all....

I have a large movie that I have split up into smaller movies. I want to use the loadmovie action here.

I want the first movie to load and be seen by the user, while the second swf is being loaded. When the first movie has been viewed, I want the second one to appear.
 
Movies are loaded one by one.
Add a preloader to your first movie, and when it's ready to play, add a loadMovie action to load your second movie (in the first few frames) and in empty holder movie clip, while the first movie is playing. This movie should also have it's own preloader, with a stop(); action on it's first frame and the holder clip set to invisible, in the eventuality that this second movie would have enough time to download during the length of your first movie, and to prevent it from playing on it's own. On the last frame of your first movie, set the holder clip to visible and tell it to play. But that doesn't mean that your problem is solved. As I said, depending on the complexity and length of this second movie, and the lenght of the first movie, the second movie may not have enough time to completely download before the end you your first movie. Only testing will tell you that!

May I be blessed with your vote! Regards,

new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top