Advertisement

07.16.2008 at 01:06AM PDT, ID: 23568758
[x]
Attachment Details

crossdomain.xml not working

Asked by clownhat in ActionScript, Macromedia Flash

Tags: , , , ,

Hi, I am using trying to get a crossdomain.xml file to work... The setup is as following

I have a flash app running on http://IPADDRESS1/ace_linkage/index.php and  it is trying to connect to a socket on IPADDRESS2:9000

I have tried a load of different things for the crossdomain but my current setup is:

<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="IPADDRESS1" to-ports="9000" />
</cross-domain-policy>

and it is hosted up on http://IPADDRESS2:80

inside the actionscript i have

Security.loadPolicyFile("http://IPADDRESS2/crossdomain.xml");

And the error is:

SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048"
Start Free Trial
[+][-]07.16.2008 at 02:21AM PDT, ID: 22014364

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 02:25AM PDT, ID: 22014380

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ActionScript, Macromedia Flash
Tags: Adobe, Flash, CS3, Actionscript 3 Socket, Actionscript 3
Sign Up Now!
Solution Provided By: clownhat
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628