Yes, crossdomain.xml is loaded from the server you are trying to access, not the server where you got the original SWF.  So crossdomain needs to come from coenraets.com in your case.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Anatole Tartakovsky
Sent: Sunday, February 05, 2006 7:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] bug in httprequest/urlloader/Flash 8.5?

 

It seems that when calling HTTPRequest on other domains, the crossdomain.xml is being loaded from that domain?

Quick test:

Step 1: Deploy blogreader sample on the localhost, place crossdomain.xml, even use loadPolicyFile - here is HTTP trace:

Step 2 - Click on Coenraets Blog

---REQUEST

21:39:07.147 GET /crossdomain.xml HTTP/1.1 259 0xAC8 0x798  1316 64.34.177.158:80
 Accept: */*     
 x-flash-version: 8,5,0,212     
 Accept-Encoding: gzip, deflate     
 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1     
 .4322; .NET CLR 2.0.50727)     
 Host: coenraets.com     
 Connection: Keep-Alive     

-------------------OBVIOUS RESPONSE

21:39:07.257 HTTP/1.1 404 /crossdomain.xml 967 0xAC8 0x798  1316 64.34.177.158:80
 Date: Mon, 06 Feb 2006 02:39:24 GMT     
 Content-Type: text/html;charset=ISO-8859-1     

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to