hi does anyone know how to pause a MC? for example if i have a ball moving from left to right and i want to press a button that will pause it in between the movement so that it can stop and when i press the buttons one more time i can make it continue with what it was doing? plz help me with this as soon as u can anyone :cowboy:
you can use a variable…
ie.
myButton.onRelease = function() {
if (!paused) {
ball.stop();
paused = 1;
} else {
ball.play();
paused = 0;
}
};
and welcome to kirupa forum. =)
AH!!! stop works? i needed this earlier and ended up doing a whole framesloaded procedure which didnt work…i thought stop(); would end the movie