wayneM
02-27-2003, 03:06 PM
I have a movie (fla) with one movie clip inside of it. I have a Stop and a Play button in the main movie which work properly.
I would like to delete the Stop/Play buttons in the main movie, and put these buttons in the html page. When i try this and hit the stop button, the main movie stops but the inside movie clip continues to play. I need everyting to stop when the stop button is pressed.
My stop button actionscript:
on (release) {
_root.gotoAndStop("begin");
for (i=1; i<=25; i++) {
_root["depth"+i].removeMovieClip();
}
}
My Play button action script:
on (release) {
_root.gotoAndPlay("begin");
for (i=1; i<=25; i++) {
_root["depth"+i].stop();
}
}
I am using dreamweaverMX.
Thank you for the help,
wayne
I would like to delete the Stop/Play buttons in the main movie, and put these buttons in the html page. When i try this and hit the stop button, the main movie stops but the inside movie clip continues to play. I need everyting to stop when the stop button is pressed.
My stop button actionscript:
on (release) {
_root.gotoAndStop("begin");
for (i=1; i<=25; i++) {
_root["depth"+i].removeMovieClip();
}
}
My Play button action script:
on (release) {
_root.gotoAndPlay("begin");
for (i=1; i<=25; i++) {
_root["depth"+i].stop();
}
}
I am using dreamweaverMX.
Thank you for the help,
wayne