Using the setInterval() method - Republic of Code | Learn + Design + Code
That should do it. You can test the movie now again to see your button moving and then be able to click on the button to stop the movement! This is a very simple example of course that does not showcase the full power of the setInterval() method. If you n
www.republicofcode.com |