note 79387 added to ming.swfaction
| From: | tore dot aurstad at ntebb dot no | Date: | Sat, 24 Nov 2007 15:09:55 +0000 |
| Subject: | note 79387 added to ming.swfaction | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132539@lists.php.net to get a copy of this message | ||
There is some difficulty adressing objects in the swfmovie using swfaction, at least when using
Windows and Flash Player 9. I debugged the .swf file generated with php ming in
Adobe Flash CS3 and saw that my references on swfdisplayitems was not set correctly. I tried
labelling a submovie (swfsprite object) "showmovie", but the actionscript did not seem to
be able to reference the object. The debugging in Adobe Flash 9 showed the "showmovie"
object to instead have the labelling "_level0.instance1", I adjusted the code and then was
able to manipulate the objects in my swfmovie. The naming scheme seems to follow this
"_level0.instanceX" labelling, check by debugging your .swf movies generated from php ming
at least in Windows+Flash player 9 to check if swfdisplayitem's method setname also does not
work here.
Tore Aurstad, Norway
----
Server IP: 62.73.197.23
Probable Submitter: 84.52.241.86
----
Manual Page -- http://www.php.net/manual/en/ming.swfaction.php
Edit -- https://master.php.net/note/edit/79387
Del: integrated -- https://master.php.net/note/delete/79387/integrated
Del: useless -- https://master.php.net/note/delete/79387/useless
Del: bad code -- https://master.php.net/note/delete/79387/bad+code
Del: spam -- https://master.php.net/note/delete/79387/spam
Del: non-english -- https://master.php.net/note/delete/79387/non-english
Del: in docs -- https://master.php.net/note/delete/79387/in+docs
Del: other reasons-- https://master.php.net/note/delete/79387
Reject -- https://master.php.net/note/reject/79387
Search -- https://master.php.net/manage/user-notes.php