©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
(PHP 5 <= 5.3.0, PECL ming SVN)
SWFFill::moveTo — Moves fill origin
$x
, float $y
)此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。
Moves the fill origin to the given global coordinates.
x
X-coordinate
y
Y-coordinate
没有返回值。
[#1] [2003-07-17 00:05:56]
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