How to bypass "Adobe Flash Player has stopped a potentially unsafe operation."?

Phoexo picture Phoexo · Nov 3, 2010 · Viewed 31.1k times · Source

I have created an advent calendar for the blog of a friend, and to fetch/get/download the gifts of each day, the flash animation requests a file located at "http://domain.com/folder/etcetc/gifts.php".

While creating the file in Flash CS4 and trying it out, I never got the error. But when I try to launch the .swf manually, I get this error:

Adobe Flash Player has stopped a potentially unsafe operation.

The following local application on your computer or network:

C:\location\file.swf

is trying to communicate with this Internet-enabled location:

domain.com

To let this aplication communicate with the Internet, click Settings. You must restart the application after changing your settings.

Is there any way to bypass this, or any other method I can use to stop this error from showing? I'm currently using URLLoader and URLRequest, is there any better/faster/more efficient way to do this?

Answer

www0z0k picture www0z0k · Nov 3, 2010

you must add the swf file location (just c:\ or exact path) to the trusted list in Adobe FlashPlayer Settings Manager in order to allow a local swf connect the internet