Tuesday, May 19, 2009

Security Error 2060:Security sandbox violation: ExternalInterface caller

Many a times we see such issues that we are not able to launch the application from html file and see the following error---

Security Error 2060: Security sandbox violation: ExternalInterface caller
cannot access

So to avoid such a error you need to make some changes in html template html
In the HTML template make sure that the parameter 'allowscriptaccess' is set to 'always'

param name="allowScriptAccess" value=“always"
if you are making a Object of swf from a flex application you can add the following parameter to the Object
swfObject.addParam('allowscriptaccess', 'always');


Varun Rathore

About Me