©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
[#1] T_wigg [2003-09-21 21:41:43]
I had a hard time finding a way to stop a sprite, so I figured I would post it.
$button = new SWFButton();
$button->addShape($box, SWFBUTTON_UP | SWFBUTTON_HIT | SWFBUTTON_OVER | SWFBUTTON_DOWN);
$button->addAction(new SWFAction("
setTarget('box');
stop();
"), SWFBUTTON_MOUSEUP);
$item = $movie->add($button);
This works the same way with play();