Horst
11-21-2001, 09:46 AM
Hello everybody,
please forgive me, but Iīm in trouble with my variables again.
I want a mc (movie 1) to set a varible when itīs loaded, to tell that it is the current movie, like:
_root.current="movie 1";
when I hit a menu button, I want this movie to play to itīs end and tell another movie (defined by variable) to start when itīs ready
I did it like this:
onRelease
_root[current].play();
_root[current].next="movie2";
I guess itīs like usual, very simple, but where is my mistake?
Have a nice day
Horst
please forgive me, but Iīm in trouble with my variables again.
I want a mc (movie 1) to set a varible when itīs loaded, to tell that it is the current movie, like:
_root.current="movie 1";
when I hit a menu button, I want this movie to play to itīs end and tell another movie (defined by variable) to start when itīs ready
I did it like this:
onRelease
_root[current].play();
_root[current].next="movie2";
I guess itīs like usual, very simple, but where is my mistake?
Have a nice day
Horst