ENTER_FRAME Event Listener

Finish the function

Type out the function statements like you see in example animation below. Don't forget the closing right brace:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Your Actions window should look like the example below:

Now test your work. There it goes... moving on down 1 pixel at a time, 24 times per second. Remember the Flash coordinate system inverts the Y axis, so as the value of Y increases, the object moves down not up:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player