Using Flash to create animation on the web is popular because the flash player is installed on most computers and the published flash file (SWF file) is small. Flash has a powerful scripting language called ActionScript. You can use script to manipulate and control object on the stage. Its syntax is similar to JavaScript (or C++). Script example, A script can be associated with a keyframe or with an object. To use the following script, copy it to the action panel. Press “Ctrl+Enter” to start the flash file.

Download Flash ActionScript Quick Reference