Hi, i have made a movie clip with this code:
stop();
var keepGoing = false;
btn.onRollOver = function() {
keepGoing = false;
gotoAndPlay(2);
};
btn.onRollOut = function() {
keepGoing = true;
};
This means that if the mouse stops on the clip, the movie plays to frame 5, and if the mouse just rolls over it play to frame 10 and jumps back to frame 1 and stops.
But my problem is that i cant get anything to happen on click.
Anyone know how?