1. Home
  2. Computing & Technology
  3. Animation

Flash Tip: ActionScripting Basics: "On" Command Options

By , About.com Guide

2 of 2

Event Options

  • Press: tells Flash to perform the associated commands immediately when the left mouse button is clicked over the defined button area.
  • Release: tells Flash to perform the associated commands immediately when the left mouse button is released from a click over the defined button area.
  • Release Outside: tells Flash to perform the associated commands when the left mouse button is released--but in this case, while the click is over the defined button area, the release must be outside of the defined button area.
  • Key Press: tells Flash to perform the associated commands when a certain key is pressed. The text field allows you to type in which key(s) are triggers.
  • Roll Over: tells Flash to perform the associated commands when the mouse cursor rolls over the defined button area.
  • Roll Out: tells Flash to perform the associated commands when the mouse cursor rolls out of the defined button area.
  • Drag Over: tells Flash to perform the associated commands when the left mouse button is clicked, held, and dragged over the defined button area.
  • Drag Out: tells Flash to perform the associated commands when the left moues button is clicked, held, and dragged from inside the defined button area to outside of the defined button area.
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. Flash Tip: ActionScripting Basics: "On" Command Options

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

All rights reserved.