Manußl PHP | ||
---|---|---|
P°edchßzejφcφ | Dal╣φ |
Varovßnφ |
Tato funkce je EXPERIMENT┴LN═. To znamenß, ╛e chovßnφ tΘto funkce a jejφ nßzev, p°esn∞ji °eΦeno COKOLI, co je zde zdokumentovßno, se v budoucφch verzφch PHP m∙╛e BEZ OHL┴⌐EN═ zm∞nit. Berte to v ·vahu a pou╛φvejte tuto funkci na vlastnφ nebezpeΦφ. |
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 |