Apparently this function DOES, in fact, return a value as many of the MING examples show. It is a SWFDisplayItem. Here is an excerpt of an example that appears elsewhere in the MING docs...
$p = new SWFSprite();
$i = $p->add($s);
$p->nextFrame();
$i->rotate(15);
$p->nextFrame();
SWFSprite->add()
(PHP 4 >= 4.0.5)
SWFSprite->add() — Adds an object to a sprite
Descrizione
SWFSprite
void add
( object $object
)
Avviso
Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.
swfsprite->add() adds a swfshape(), a swfbutton(), a swftext(), a swfaction() or a swfsprite() object.
For displayable types (swfshape(), swfbutton(), swftext(), swfaction() or swfsprite()), this returns a handle to the object in a display list.
Valori restituiti
Nessun valore viene restituito.
SWFSprite->add()
php_dev at dunnbypaul dot net
31-Jul-2007 12:33
31-Jul-2007 12:33
