PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFSprite->__construct> <SWFSprite
Last updated: Fri, 05 Sep 2008

view this page in

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()) の場合、この関数は表示リスト内でのオブジェクトのハンドルを返します。

返り値

値を返しません。



add a note add a note User Contributed Notes
SWFSprite->add
php_dev at dunnbypaul dot net
31-Jul-2007 12:33
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->__construct> <SWFSprite
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites