PDA

View Full Version : Adobe Flash Player Error Help


adnan794
10-10-2008, 03:01 PM
Hello

I have an swf file containing buttons when you click on a button it communicates with a online website www.xyz.com . But what I keep on getting is this error that

Adobe flash Player has stopped a potentially unsafe operation the following file on your local machine or network c:\ab.swf

is trying to communicate with this internet enabled location

www.xyz.com

To let this application communicate with the internet, click settings.


Can any one please help me with this I am really working to a deadline I dont have much time left?

Does it have something to do with cross domain.xml?

Thanks in advance

wvxvw
10-10-2008, 03:12 PM
No, you have to visit this page:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
and read the gray text below the picture carefully.

adnan794
10-10-2008, 03:25 PM
Hello Thanks for you reply

Yes I have seen that when I click Allow access to this swf from Global settings tab it works fine but when I upload it to a server then it gives problems again because I am trying to communicate to a website www.xyz.com so that why I was thinking that sould I design a cross domain xml file and allow accessing of www.xyz in their

wvxvw
10-10-2008, 04:01 PM
Yes, if your SWF's domain and the domain it's trying to access are different you should provide crossdomain.xml on the domain you're trying to access. Notice also that flash player does not resolve URLs, this means http://www.somedomain.com and www.somedomain.com etc are supposed different domains.