View Full Version : MX Communication between movies
Lmackenzie
April 14th, 2003, 07:54 AM
I've got an html page with 2 different movies: 'movie1.swf' and 'movie2.swf'. Is there a way that 'movie1.swf' can play to a certain frame and when it reaches that frame, can tell 'movie2.swf' to start playing? The thing is they are 2 separate swfs rather than 2 movie clips within the same swf.
Thanks
comicGeek
April 14th, 2003, 08:39 AM
I think you have to use _global variables to do that.....I think kirupa.com has a tut for that I think.... try searching the forums and the tuts.
Cheers
charlie
April 16th, 2003, 06:11 AM
would be to have an MC which loads both the swfs into it. That way you can have quite a lot of control i.e. checking which frame 1.swf is up to before triggering 2.swf
I have been doing it with
_root.createEmptyMovieClip("thingy", 1);
thingy.loadMovie("assets/1.swf");
then you can load the second (and more ) MCs in as the first is playing
_root.createEmptyMovieClip("thingy"+N, N);
[thingy+N]loadMovie("assets/"+N+".swf");
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.