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
(No version information available, might be only in CVS)
SWFSprite->add — Adds an object to a sprite
Opis
void add
( object $object
)
Ostrzeżenie
Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko.
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.
Zwracane wartości
żadna wartość nie jest zwracana.
SWFSprite->add
php_dev at dunnbypaul dot net
31-Jul-2007 07:33
31-Jul-2007 07:33
