1. Home
  2. Computing & Technology
  3. Animation

Flash Tip: Action Scripting Basics: Inserting a Simple Stop

By Adrien-Luc Sanders, About.com

2 of 2

Accessing ActionScripts

While ActionScripting is a programming language, Flash's library allows you to "write" in the language without actually typing the code yourself. To insert a stop at any point in your animation, simply follow these steps:

  • Create a new layer. Label it Actions, and insert a keyframe on the frame where you want your Flash movie to stop.
  • Right-click on the keyframe and select Actions. The Simple version of the ActionScript library and interface will appear, with a window that lets you view any actions currently applied to the frame as well as an expanding list of script categories.
  • Click on the Actions category to expand it, and then the Movie Controls subcategory to show the list of available commands.
  • To add a stop command, either double-click on the listing for stop, or else click and drag it into the window that displays the ActionScripting for that frame. You can also click the "+" button above the window to add a new script item.
And that's it. You've added a stop command that will tell your movie to pause on that particular frame, and worked with ActionScripting for the first time. Easy, no?
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. Flash Tip: Action Scripting Basics: Inserting a Simple Stop

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

All rights reserved.