Forum und email

SWFMovie->add()

(PHP 4 >= 4.3.3)

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

Descrierea

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

Parametri

instance

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

Valorile întroarse

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.

Vedeţi de asemenea