PHP Manuál | ||
---|---|---|
Předcházející | Další |
Varování |
This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk. |
swfbutton() creates a new Button. Roll over it, click it, see it call action code. Swank.
SWFButton has the following methods : swfbutton->addshape(), swfbutton->setup(), swfbutton->setover() swfbutton->setdown(), swfbutton->sethit() swfbutton->setaction() and swfbutton->addaction().
This simple example will show your usual interactions with buttons : rollover, rollon, mouseup, mousedown, noaction.
This simple example will enables you to drag draw a big red button on the windows. No drag-and-drop, just moving around.
Příklad 2. swfbutton->addaction() example
|
Předcházející | Domů | Další |
SWFSprite->nextframe | Nahoru | SWFbutton->addShape |