stop movie but not actionScript?
I have worked for a week trying to figure this problem out. I just cant get the script right to stop my entire swf after looking at tutorials, help, books, etc.
I have a simple .fla. One scene and one movie clip inside called "textMovie". I made a button that stops the main movie by this script:
on (release) {
_root.gotoAndStop("begin");
}
It works fine to stop the main movie UNTIL the textMovie clip begins playing.
NOW, my problem: The reflected text (from the textMovie actionScript) keeps playing even though my regular text stops after pressing the stop button. I need it all to stop. I will include some of the code for the actionScript below:
i = 1;
alpha = 1;
max = 25;
setProperty("\"/depth0\"", _visible, 0);
while (i<=max) {
duplicateMovieClip("/depth0", "depth" add i, 500-i);
setProperty("/depth" add i, _xscale, getProperty("/depth" add(i-1),_xscale)+i*alpha);
setProperty("/depth" add i , _yscale, getProperty("/depth" add(i-1),_yscale)+i*alpha);
setProperty("/depth" add i, _alpha, 10-i*(.2));
i = i+1;
}
Could you please give me the correct code to stop the entire mc and its action script code. I hope i made myself clear. Thanks
|