Simple instuctions to change adobe flash player security settings to run javascript from action script locally
June 18, 2008
I was struggling to run a flash application in a web browser which is executing a JavaScript function from action script.
For instance: on(Release){getURL(“javascript:openResults();”)}
Flash application was embedded in a HTML page and I was trying to load in a web browser. I was getting an error alert when I executed that function by clicking a flash button.
After my study and reach on this problem, I got why is that error occurred? and how to rectify the problem.
Reason for the cause:
Flash player security settings will not allow you to run any JavaScript through action script when the file is stored at your local drive. These files need to run with a web server (http) in order to run the application with out any alert.
So find the following easiest 5 steps to changing the security settings for adobe flash player to run JavaScript from action script locally.
Step1:
Right Click on Hitch selector and choose Settings…
Step2:
Click on Advanced… button which will take you to related webpage in adobe’s website.
Step 3:
Now you must be landed on adobe – security manager page.
Find a link called “Global Security Settings panel” in the middle of the page and click on that link to load the advanced security settings.
Step 4:
Now you could see the advanced security settings.
Choose Always allow – radio option from the panel and then click on the Edit locations.
Step 5:
Clicking on Browse for folder… button and select your folder path to allow the adobe security setting systems to run our application locally.
After getting the selected path on that panel text area, please restart you browser.
Hey! Folks did you find useful please do post you comments.





