PHP Doku:: Moves fill origin - function.swffill.moveto.html

Verlauf / Chronik / History: (29) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenMing (flash)The SWFFill classSWFFill->moveTo

Ein Service von Reinhard Neidl - Webprogrammierung.

The SWFFill class

<<The SWFFill class

SWFFill->rotateTo>>

SWFFill->moveTo

(PHP 4 >= 4.0.5)

SWFFill->moveToMoves fill origin

Beschreibung

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

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

Moves the fill origin to the given global coordinates.

Parameter-Liste

x

X-coordinate

y

Y-coordinate

Rückgabewerte

Es wird kein Wert zurückgegeben.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...

17.07.2003 9: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



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)