Forum und email

SWFMovie->add()

(PHP 4 >= 4.3.3)

SWFMovie->add() — Adds any type of data to a movie

Beschreibung

SWFMovie
mixed add ( object $instance )
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 an SWF object instance to the current movie.

Parameter Liste

instance

Any type of object instance, like SWFShape, SWFText, SWFFont.

Rückgabewerte

For displayable types (shape, text, button, sprite), this returns an SWFDisplayItem, a handle to the object in a display list. Thus, you can add the same shape to a movie multiple times and get separate handles back for each separate instance.

Siehe auch