note 22694 added to function.swfdisplayitem

From: Date: Wed, 26 Jun 2002 22:32:48 +0000
Subject: note 22694 added to function.swfdisplayitem
Groups: php.notes 
Request: Send a blank email to php-notes+get-32248@lists.php.net to get a copy of this message
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 -- http://www.php.net/manual/en/function.swfdisplayitem.php http://master.php.net/manage/user-notes.php?action=edit+22694 http://master.php.net/manage/user-notes.php?action=delete+22694 http://master.php.net/manage/user-notes.php?action=reject+22694

« previous php.notes (#32248) next »