1. Home
  2. Computing & Technology
  3. Animation

Animating with ActionScripts

By , About.com Guide

1 of 7

Tweens aren’t the only way to animate in Flash; you can use ActionScripting to change the position or shape of any object to substitute--in some cases--for motion tweens and shape tweens.

In this example we’re going to show how to script a loop that creates a neverending animation on a single frame, by advancing the X (horizontal) position of a movie clip symbol with each time that Flash checks a frame (12 times per second at the default frame rate).

Start off by creating a movie clip on your main stage. You don’t need to name the instance, but you can if you’d like, just for the sake of forming good habits.

Explore Animation
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Animating with ActionScripts

©2009 About.com, a part of The New York Times Company.

All rights reserved.