Clip Events

   

The Clip event handler is very similar to the Button event handler. Clip events dictate what will happen when a certain event is evoked by playback in Flash (see Figure 10.2).

Figure 10.2. Notice all the clip event parameters that can be edited.

graphics/10fig02.gif

Table 10.2 outlines the various Clip events and how they are triggered.

Table 10.2. Clip Events

CLIP EVENT

TRIGGER

Mouse Down

The mouse button is pressed.

Mouse Up

The mouse button is released.

Mouse Move

The mouse is moved.

Key Down

A key on the keyboard is pressed.

Key Up

A key on the keyboard is released.

Enter Frame

Each frame of the movie clip is updated.

Load

The movie clip first appears in the Timeline.

Unload

The first frame after the movie clip is removed from the Timeline.

Data

When either external data or Small Web Format (SWF) movies are loaded into the movie clip with the action loadVariables or loadMovie .


   
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