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

search for in the

SWFFill->rotateTo()> <SWFFill
Last updated: Fri, 05 Sep 2008

view this page in

SWFFill->moveTo()

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

SWFFill->moveTo()Déplace le motif original

Description

SWFFill
void moveTo ( int $x , int $y )
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.

Déplace le motif original aux coordonnées globales données.

Liste de paramètres

x

Coordonnée en X

y

Coordonnée en Y

Valeurs de retour

Aucune valeur n'est retournée.



add a note add a note User Contributed Notes
SWFFill->moveTo()
17-Jul-2003 12:05
onClipEvent()

At the mailinglist on www.opaque.net I found SWFDisplayItem->addAction,
which is defined in ming-0.2a/php_ext/ming-4.0.7.c
Seems to be the equivalent to the onClipEvent() function in ActionScript:

void SWFDisplayItem->addAction(SWFAction action, int flags)

flags for SWFDisplayItem_addAction as PHP-Constants:

SWFACTION_ONLOAD
SWFACTION_ENTERFRAME
SWFACTION_UNLOAD
SWFACTION_MOUSEMOVE
SWFACTION_MOUSEDOWN
SWFACTION_MOUSEUP
SWFACTION_KEYDOWN
SWFACTION_KEYUP
SWFACTION_DATA

The following might be the same as onClipEvent(data) inside $child:

$m = new SWFMovie();
...
$child = new SWFMovie();
...
// SWFMovie->add returns SWFDisplayItem:
$i = $m->add($child);
$i->addAction($action_script, SWFACTION_DATA);

Jan

SWFFill->rotateTo()> <SWFFill
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites