Button Events

   

The Button event handler dictates what will happen when a certain event is evoked by the end user . Table 10.1 outlines the different Button events and how they are triggered.

Table 10.1. Button Events

BUTTON EVENT

TRIGGER

Press

The cursor is over the hit area and the mouse button is pressed.

Release

The cursor is over the hit area and the mouse button is pressed and released.

Release Outside

The cursor is over the hit area and the mouse button is pressed and then released outside the hit area.

Roll Over

The cursor moves over the hit area.

Roll Out

The cursor moves away from and off the hit area.

Drag Over

The cursor is over the hit area and the mouse button is pressed. Then the cursor is moved off the hit area and back over the hit area while the button remains pressed.

Drag Out

The cursor is over the hit area and the mouse button is pressed. Then the cursor is moved off the hit area while the button remains pressed.

Key Press

A specified key on the keyboard is pressed.


   
Top


Certified Macromedia Flash MX Designer Study Guide
Certified Macromedia Flash MX Designer Study Guide
ISBN: 0321126955
EAN: 2147483647
Year: 2001
Pages: 142

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net