PDA

View Full Version : All my MC's are loading the same movie


MouseMan
10-26-2001, 12:51 PM
1.
I have many MC's placed inside the button (if they are buttons then the biggest button in wich they all are placed, looses it's property - I dont want that ).

They all have the different script for loading the external swf files into this movie. Something like this:

onClipEvent (mouseUp) {
unloadMovieNum (2);
unloadMovieNum (3);
unloadMovieNum (4);
loadMovieNum ("a.swf", 1);
}

The problem is that they all load the first movie!!!
In this case "a.swf"

I have attached the file where all that is happening.

2.
Is there command to unload all the movies tolgether rather then writting the code like I did it?

Can anyone help me please!

tg
10-26-2001, 10:39 PM
just looked at your file, on the
the code for the first mc is

onClipEvent(mouseUp){
//your code here
}


all of the others where like this.

onClipEvent(load){
//your code here
}


i see a couple of problems. one the b,c,d mcs are loaded on load.
a is loaded on the mouseUp event.
i didn't see the code to unload any of the clips.
if you change all the code to fire on the mouseUp event i think all of them will load the specified clip on any mouse up event.

you may want to change them to buttons and put it on a press event.