Question
Sequentially playing library movie clips
greetings,
i am looking for a simple solution to what seems like a simple problem. i have no code to show but i can explain the situation easily.
i have 10 movie clips sitting in the library of the main movie. i create an empty movie clip programatically (this.createEmptyMovieClip).
i use attach movie to load the first movie clip call it "mcBox" into the empty movie clip on stage.
here is where i run into problems. i wish to evaluate the _currentframe and _totalframes of mcBox so when they equal each other to unload mcBox and load the next movie clip.
thus all the movies would follow each other sequentially. i originally used onEnterFrame to evaluate currentframe and totalframe but could not get the next movieclip to attach and play. I hardcoded the effort but to no avail.
could someone suggest a good way to achieve sequential play of movie clips from the library?! Basically i want one to play right after the other. just some pointers would be great.
i am looking for a simple solution to what seems like a simple problem. i have no code to show but i can explain the situation easily.
i have 10 movie clips sitting in the library of the main movie. i create an empty movie clip programatically (this.createEmptyMovieClip).
i use attach movie to load the first movie clip call it "mcBox" into the empty movie clip on stage.
here is where i run into problems. i wish to evaluate the _currentframe and _totalframes of mcBox so when they equal each other to unload mcBox and load the next movie clip.
thus all the movies would follow each other sequentially. i originally used onEnterFrame to evaluate currentframe and totalframe but could not get the next movieclip to attach and play. I hardcoded the effort but to no avail.
could someone suggest a good way to achieve sequential play of movie clips from the library?! Basically i want one to play right after the other. just some pointers would be great.