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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading movies clarification

Status
Not open for further replies.
Dec 24, 2001
857
GB
Just need a bit of clarification...

I'm creating an exceptionally large movie due to all the pictures used in it. Anyway, I want to split it into four seperate parts so for example A, B, C and D.

Once movie A is loaded, I want it to open movie B, then once B is finished, load C etc. I want each movie to close itself once it has loaded the other just so that I don't have about 10,000 applications open after about an hour.

What would be the best way of doing this? I remember using loadMovie or something, but its been a while and I can't fully remember how I did it.

Thanks
 
At the end of each movie, add a stop action, and:

loadMovie("movieb.swf",0);

Or...

_level0.loadMovie("movieb.swf");

And so on for moviec, movied, etc...

These will reload in the current window, replacing the previous window.

Regards,
new.gif
 
This did work at first, but now it just doesn't play the new movie.

I've used both commands, which like I say worked at first.

The thing which I'm doing is have the last scene of this movie fade out, and then the next movie fades in and carries off where the previous one left off.
The background is dark blue in the first movie, then everything fades out. Then what is supposed to happen is the next scene loads and the background changes to a different colour. Its all animated OK and I've placed a play command in the first frame of the new movie.

Does anyone have any idea why this is?...
 
The action should actually be:

stop();
loadMovieNum ("your.swf", 0);

...And is working fine for me!

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top