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 — オブジェクトをスプライトに追加する
説明
void add
( object $object
)
警告
この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。
swfsprite->add() は、swfshape()・ swfbutton()・swftext()・ swfaction() あるいは swfsprite() オブジェクトを追加します。
表示可能な型 (swfshape()、 swfbutton()、swftext()、 swfaction() あるいは swfsprite()) の場合、この関数は表示リスト内でのオブジェクトのハンドルを返します。
返り値
値を返しません。
SWFSprite->add
php_dev at dunnbypaul dot net
31-Jul-2007 12:33
31-Jul-2007 12:33
