Hi Marc,
On 10/3/06, Marc Reichelt <[EMAIL PROTECTED]> wrote: > 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 The issue I ran in to was that when I ran the SWF through swfmill swf2xml -> xml2swf the resultant SWF file wouldn't make the javascript call the way the original did. --eric > > > Regards > > Marc Reichelt || http://www.marcreichelt.de/ > > _______________________________________________ > swfmill mailing list > [email protected] > http://osflash.org/mailman/listinfo/swfmill_osflash.org > _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
