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

search for in the

SWFSprite->__construct()> <SWFSprite
Last updated: Fri, 14 Nov 2008

view this page in

SWFSprite->add()

(No version information available, might be only in CVS)

SWFSprite->add()Ajoute un objet à un sprite

Description

SWFSprite
void add ( object $object )
Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

swfsprite->add() ajoute un objet swfshape(), un objet swfbutton(), un objet swftext(), un objet swfaction() ou un objet swfsprite().

Pour les types affichables (swfshape(), swfbutton(), swftext(), swfaction() ou swfsprite()), cette fonction retourne un gestionnaire vers l'objet dans la liste d'affichage.

Valeurs de retour

Aucune valeur n'est retournée.



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, 14 Nov 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites