Movie clips/sound

Hi there

I have a play and stop button you click play and the music plays and stop if you want to stop it but i also have two movie clips which i want to animate when you click play and stop when you click the stop button. How do i do this

Any help will be greatly appreciated

Thanks

gotoAndPlay_rooot.yourmovieclip.

Assuming that the movie clip isn’t on frame 1 when it’s playing and is on frame 1 when it’s stopped you might try

if (mcInstance._currentFrame!=1) {
mcInstance.gotoAndStop(1)
} else {
mcInstance.play()
}