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

search for in the

SWFFill::rotateTo> <SWFFill
[edit] Last updated: Tue, 21 May 2013

view this page in

SWFFill::moveTo

(PHP 4 >= 4.0.5)

SWFFill::moveToMoves fill origin

Descrizione

void SWFFill::moveTo ( float $x , float $y )
Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

Moves the fill origin to the given global coordinates.

Elenco dei parametri

x

X-coordinate

y

Y-coordinate

Valori restituiti

Nessun valore viene restituito.



add a note add a note User Contributed Notes SWFFill::moveTo - [1 notes]
up
0
Anonymous
9 years ago
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

 
show source | credits | sitemap | contact | advertising | mirror sites