Mc playing while mouse over it

Hi

I have a mc with with a stop(); action on the first frame and an then an animation.

I´d like to make it play when the mouse is over it and don´t stop on the first frame. Keep playing over and over.
It will only stop when the mouse in rollout the MC.

Have a look.

Adam

That´s almost what I looking for.

But I´d like that when the mc is out, the ball keep playing until it reaches it´s first frame (with the stop action.)

Just change the rollOut to this:

ball.onRollOut = function() {
playedYet=false
};

that´s what I was looking for!!!

Thanks a lot man!

You’re welcome :smiley: