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?
I found out that this problem wasn't relevant after all, as it only occurred when I opened the .swf
locally. When I uploaded it to my webserver and tried to access the flash file with my webbrowser, it worked just as it was supposed to.