Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://old.master.cmc.msu.ru/php/function.swfbutton.html
Дата изменения: Sun Feb 3 22:46:26 2002 Дата индексирования: Tue Oct 2 03:21:24 2012 Кодировка: |
Warning |
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may 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.
Example 2. swfbutton->addaction() example
|