1. Computing & Technology

Discuss in my forum

Flash Tip: Action Scripting Basics: Inserting a Simple Stop

By , About.com Guide

2 of 2

Accessing ActionScripts
Flash Tip: Action Scripting Basics: Inserting a Simple Stop

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?

©2012 About.com. All rights reserved.

A part of The New York Times Company.