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
설명
void add
( object $object
)
Warning
이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.
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.
반환값
값을 반환하지 않습니다.
SWFSprite->add
php_dev at dunnbypaul dot net
31-Jul-2007 07:33
31-Jul-2007 07:33
