1. Home
  2. Computing & Technology
  3. Animation

Animating with ActionScripts

By , About.com Guide

2 of 7

Right-click on the movie clip and select Actions to open the Actions panel. First we’re going to set the position of the movie clip in reference to the stage when the movie first loads; for that we’ll need an onClipEvent.

onClipEvent (load){
}

We’re using the load function because we only want it to move to the starting position when the movie first opens, not every time it cycles over and over that single frame as it loops.

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.