Hi Eric, > I was playing around with calling javascript from flash and wanted to > see if swfmill could support it, so I started with the animation on > this page: http://www.quirksmode.org/js/flash_call.html > (http://www.quirksmode.org/js/pix/movie1.swf). I ran swfmill swf2xml > movie1.swf > movie1.xml then swfmill xml2swf movie1.xml > movie2.swf. > > In the XML it shows the getURL call to javascript: fromFlash(), but > the resulting movie2.swf doesn't make the call. Is this a bug, > feature or something that is on the list of todos?
If I click on the button "Click Me", the javascript function is called (and the alert is displayed). I use the Flash Player 7 under Linux, and for some reason I noticed that calling JavaScript functions in FP8/9 is deactivated by default and must manually be activated by the user. I have not understood yet how the security concept of Flash works, but here seems to be more information about it: http://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html Regards Marc Reichelt || http://www.marcreichelt.de/ _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
