note 37097 added to ref.ming
| From: | Anze at rn2 dot php dot net | Date: | Mon, 03 Nov 2003 07:53:03 +0000 |
| Subject: | note 37097 added to ref.ming | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59675@lists.php.net to get a copy of this message | ||
DisplayItem has another method, not included in this documentation - addAction(). Use it like this:
$di=$m->add($mySprite); // add movie clip to main movie
$di->addAction(new SWFAction("do_something();"),SWFACTION_ONLOAD);
Enjoy!
----
Manual Page -- http://www.php.net/manual/en/ref.ming.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37097
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37097&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37097&report=yes
Search -- http://master.php.net/manage/user-notes.php