Flash Q: setInterval()
Flash Q: setInterval()
Out of context: Reply #5
- Started
- Last post
- 5 Responses
- autonoma0
moveBall = function () {
ball._x += 10;
if (ball._x >= Stage.width - ball._width) {
clearInterval(ballMoverID);
trace("cleared");
}
}ballMoverID = setInterval(moveBall , 20);