SWF::Button - SWF button class
use SWF::Button;
Creates buttons for flash movies.
Creates a new Button object.
Adds $shape to the button. Valid FLAGs are:
SWFBUTTON_HIT
SWFBUTTON_UP
SWFBUTTON_DOWN
SWFBUTTON_OVER
Shortcut for $button->addShape($shape, SWFBUTTON_OVER);
Shortcut for $button->addShape($shape, SWFBUTTON_HIT);
Shortcut for $button->addShape($shape, SWFBUTTON_UP);
Shortcut for $button->addShape($shape, SWFBUTTON_DOWN);
Adds $action object (see SWF::Action). Valid FLAGs are:
SWFBUTTON_MOUSEUP
SWFBUTTON_MOUSEOVER
SWFBUTTON_MOUSEOUT
SWFBUTTON_MOUSEDOWN
SWFBUTTON_DRAGOVER
SWFBUTTON_DRAGOUT
SWFBUTTON_MOUSEUP is the default value of FLAG.
Parameter is 0 (off) or 1(on). Can be used for a slight different behavior of buttons.
wrapper written by
Soheil Seyfaie (soheil at users dot sourceforge dot net) Peter Liscovius (peterdd at users dot sourceforge dot net)
and many others.
SWF, SWF::Action, SWF::Shape, SWF::Movie, SWF::MovieClip