December 2002
Beginner
478 pages
17h 55m
English
A Button is an object that can be used to track user input such as mouse movements, mouse clicks, or keyboard events. When defining a button, you must supply at least a hit area, which is a Shape object that describes the area of the button that is receptive to user input.
You may also supply Shape objects that are displayed when the button is in one of its three states:
Displayed when the button has not received an event.
Displayed when the mouse has been clicked on the hit area.
Displayed when the mouse cursor is moved over the button’s hit area.
The SWF::Button module defines three methods and four alias methods.
Read now
Unlock full access