I have a button, that when pressed loads a movie - works fine. What I wish to know is if it’s possible (and how) to nest or add a function so that another movie loads at the same time. I’m using MX.
The idea is that when the ‘good movie’ is loaded, another small movie will load beside the button to indicate the active section.
Sample of what I’m currently using to load the 'good movie" is below.
blackWhite.onPress = function () {
_global.sectionPath = "Section1/";
_root.createEmptyMovieClip("container", 1);
loadMovie(_global.sectionPath + "bw.swf", "container");
container._x = 0 ;
container._y = 60 ;
}
There are actually seven such buttons in the main movie. So, for each one I want to replicate the adding of my external active.swf file into another empty movie clip.
Now, the above code works and pulls up the animation. When I tried to added another function to the button, only the second function worked (i.e., I got the symbol for indicating active state, but not the image gallery I’ve made).
All help appreciated.
Thanks,
donna