Flash cs4 local security sandbox

Flash cs4 local security sandbox

I'm testing a flash script that calls a JavaScript function (both, the swf and the HTML file are local). The flash movie is not allowed to access the HTML file that contains the js-function.

I've learned that I have to put both files into a security sandbox, so I added the path to both files (HTML+swf) to a file test.cfg in C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust.

But still the same problem. What to do?


Flash + PHP to make a submission form?


Call a method in a WPF app from Flash swf or exe
The requirement for calling from Flash to JS is that you have the allowScriptAccess parmeter set in your embedding code of your HTML document.

Adding a node to an xml trace causes no data to appear
Iirc, you can specify always or sameDomain and it will work.

Jquery Make Flash 100% fit to DIV
The second option obviously require the swf to be coming from the same domain..
Using PHP to write to .swf files

Flash AS2 + XML

50 out of 100 based on 35 user ratings 1210 reviews