Click to See Complete Forum and Search --> : stop and play of a movie


alexthecatta
04-08-2006, 06:07 PM
I have a Flash file with a movieclip inside of it.

I wanna load into the movieclip and external swf file.
I would like to play and stop it with a button...how can i do it?

rahularavind
04-10-2006, 10:04 AM
If you want to load a swf from outside to a movie clip then try this ...

m1.loadMovie("file.swf",0);

put this code in the frame action.

as m1 is the movieclip instance.

Then you can stop and play the movie by puting these code in stop and play buttons.

on (release) {
m1.stop();
}

on (release) {
m1.play();
}