FMXIS3Switch

Availability

Flash Player 6 r65.

Description

This class implements a basic, three-position switch (up, middle, down). It is set by default (autoCenter == false) to hold the three discrete positions, or be set to snap back to the center (autoCenter == true) after pressing the switch into the up or down positions.

This component is distributed as a compiled clip (SWC) rather than a FLA like other components in this set. You can change the graphics for this component by specifying a linkage ID for a movie that contains switch pieces. The movie must refer to the up graphic as swUp, the middle as swMiddle, and the bottom, swDown. The component will assign the proper event handlers to these graphics.

The class has three possible events:

Like other components, you may change the event names in the property inspector.