note 88960 added to class.swfaction
| From: | MarkOmohundro at osu1 dot php dot net | Date: | Sun, 15 Feb 2009 19:05:40 +0000 |
| Subject: | note 88960 added to class.swfaction | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150703@lists.php.net to get a copy of this message | ||
<?php
// tip: if you want to STOP an animation using SWFAction(),
// add a nextFrame() method immediately after, like this:
$p = new SWFSprite();
// ...
$i->rotate(15);
$p->nextFrame();
// ...
$p->add(new SWFAction("stop();"));
$p->nextFrame(); // stops right here
//(eop)
// this also seems to work, stopping a movie *exactly* where you want
// but only if not using SWFSprite() movie clips... then try the above.
$m->add(new SWFAction("stop();"));
$m->nextFrame();
//(eop)
// also: setFrames(n) doesn't seem to stop animation immediately...
// by design, or perhaps a current version/older release bug(?)
// the above was only tested with Ming 0.3beta1. hope this helps.
?>
----
Server IP: 69.147.83.197
Probable Submitter: 75.40.188.254
----
Manual Page -- http://www.php.net/manual/en/class.swfaction.php
Edit -- https://master.php.net/note/edit/88960
Del: integrated -- https://master.php.net/note/delete/88960/integrated
Del: useless -- https://master.php.net/note/delete/88960/useless
Del: bad code -- https://master.php.net/note/delete/88960/bad+code
Del: spam -- https://master.php.net/note/delete/88960/spam
Del: non-english -- https://master.php.net/note/delete/88960/non-english
Del: in docs -- https://master.php.net/note/delete/88960/in+docs
Del: other reasons-- https://master.php.net/note/delete/88960
Reject -- https://master.php.net/note/reject/88960
Search -- https://master.php.net/manage/user-notes.php