Forum und email

SWFButton->addShape()

(PHP 4 >= 4.0.5)

SWFButton->addShape() — Adds a shape to a button

Beschreibung

SWFButton
void addShape ( SWFShape $shape , int $flags )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

Adds the given shape to the button.

Parameter Liste

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.

Rückgabewerte

Es wird kein Wert zurückgegeben.