1. Home
  2. Computing & Technology
  3. Animation

Animating with ActionScripts

By Adrien-Luc Sanders, About.com

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

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

Easy ways to connect two computers for networking purposes. 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.