StephBeez
09-25-2001, 10:37 PM
Okay, I had this "brilliant" idea that I could reuse the same "intro" swf over and over to play before the "content" swf loads. I need to be able to load the intro and have it wait to see that that's done, then load the content. I can't put a bunch of script in the content swf because all the content swfs can go between each other in order to bypass the into if you navigate within the content swfs.
Here's the code I've been trying....
on (release) {
loadMovieNum ("intro", 1);
if (_level1._totalframes == _level1._framesloaded) {
loadMovieNum ("content2.swf", 2);
gotoAndStop ("Start"); //this has the mc go back to it's "up" state
} else {
gotoAndPlay ("ButtonLabel"); //this probably isn't right, but it's the starting point of the button that activates the action. I thought it would keep going back and checking.... shyeah
}
}
I also tried getBytes with no luck
Here's the code I've been trying....
on (release) {
loadMovieNum ("intro", 1);
if (_level1._totalframes == _level1._framesloaded) {
loadMovieNum ("content2.swf", 2);
gotoAndStop ("Start"); //this has the mc go back to it's "up" state
} else {
gotoAndPlay ("ButtonLabel"); //this probably isn't right, but it's the starting point of the button that activates the action. I thought it would keep going back and checking.... shyeah
}
}
I also tried getBytes with no luck