successfully i created my movie using flash cs4 and i publish the file through flash 8 .In my application i had registration form .if i directly run the movie (cntrl + enter)it working fine and update the mysql db properly.But if i run the same movie by click the SWF file i get the following error pop up box
Adobe Flash Player has stopped a potentially unsafe operation
The following local application on
your computer or networkD:\new\copy.swf is trying to
communicate with this Internet-enabled
location: localhostTo let this application communicate
with the internet , click Setting You
must restart the application after
changing your settings,
then i click the settings button ,it will automatically redirected me to the URL
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.html
In that page i did all the steps, but again and again i receive the same error while i run the swf file please give some ideas how to set my swf file as trusted one .
Best Answer
If you want local access right you have to publish your SWF as an AIR project, or to run it from a webserver, not directly from the file system.
The reason while it works in the Flash IDE when pressing Ctrl+Enter is because in that case these security limitations are lifted to make it easier to test, but that's the exception not the rule :)