ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
MovieClip.onRelease( ) Event Handler Flash 6

Button event; occurs when the mouse is pressed and then released over the clip

mc.onRelease() on (release) { statements }

Description

The onRelease( ) event handler is identical to the Button.onRelease( ) event, except that it can also be applied to movie clip instances (though not main movies such as _root, _level0, etc.).

See Also

Button.onRelease( ); Section 13.9

    Категории