downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFButton->__construct> <SWFButton->addASound
Last updated: Fri, 20 Nov 2009

view this page in

SWFButton->addShape

(PHP 4 >= 4.0.5)

SWFButton->addShapeAdds a shape to a button

Descrierea

void addShape ( SWFShape $shape , int $flags )
Avertizare

Această funcţie este EXPERIMENTALĂ. Comportamentul acestei funcţii, denumirea sa şi orice alte aspecte documentate în privinţa acestei funcţii pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizaţi această funcţie la propriul risc.

Adds the given shape to the button.

Parametri

shape

An SWFShape instance

flags

The following flags are valid: SWFBUTTON_UP, SWFBUTTON_OVER, SWFBUTTON_DOWN and SWFBUTTON_HIT.

SWFBUTTON_HIT isn't ever displayed, it defines the hit region for the button. That is, everywhere the hit shape would be drawn is considered a "touchable" part of the button.

Valorile întroarse

Nu este întoarsă nici o valoare.



add a note add a note User Contributed Notes
SWFButton->addShape
There are no user contributed notes for this page.

SWFButton->__construct> <SWFButton->addASound
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites