# Cross domain policies kicking my butt (Error#2048)

**URL:** <https://forum.kirupa.com/t/cross-domain-policies-kicking-my-butt-error-2048/281632>\
**Category:** flash\
**Created:** [February 11, 2009, 3:42pm UTC](https://forum.kirupa.com/t/cross-domain-policies-kicking-my-butt-error-2048/281632 "2009-02-11T15:42:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joejubee](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@joejubee](https://forum.kirupa.com/u/joejubee)\
**Post date:** [February 11, 2009, 3:42pm UTC](https://forum.kirupa.com/t/cross-domain-policies-kicking-my-butt-error-2048/281632/1 "2009-02-11T15:42:59Z")

</div>

[FONT=Tahoma][SIZE=2]Ok, so I have the following:[/SIZE][/FONT]

[FONT=Tahoma][SIZE=2][[COLOR=#0000ff]www.mysite.com[/COLOR]](http://www.mysite.com/)  
PLAYER.SWF – contains flv player and controls.  
cross-domain-policy.xml – that allows everything.[/SIZE][/FONT]

[FONT=Tahoma][SIZE=2][[COLOR=#0000ff]www.yoursite.com[/COLOR]](http://www.yoursite.com/)  
prefs.xml – contains links to flv url  
video.flv  
cross-domain-policy.xml – that allows everything.  
test.html – page with player.swf linked to from it.[/SIZE][/FONT]

[FONT=Tahoma][SIZE=2]Sooo… If I have all the files on the same domain, everything works. The swf is designed to look for the prefs.xml file at whatever location where the html page is. I can have the swf in a location like [[COLOR=#0000ff]www.mysite.com/assets/flash/swfs[/COLOR]](http://www.mysite.com/assets/flash/swfs) and have everything else in some other funky location on that domain. [/SIZE][/FONT]

[FONT=Tahoma][SIZE=2]And it works.[/SIZE][/FONT]

[FONT=Tahoma][SIZE=2]BUT- If I try to have the html page and prefs and stuff on another domain, it can’t read from the prefs.xml, and I get the Error #2048. From my research, this is a cross-domain issue, but I have cross-domain policies all over the place and it’s still doing it.[/SIZE][/FONT]

[FONT=Tahoma][SIZE=2]Any ideas folks? If you need code, you can see it here:  
[/SIZE][/FONT]  
[[COLOR=#810081]http://www.kirupa.com/forum/showthread.php?t=319492[/COLOR]](http://www.kirupa.com/forum/showthread.php?t=319492)

[FONT=Tahoma][SIZE=2]Thanks,[/SIZE][/FONT]

[FONT=Tahoma][SIZE=2]Joe[/SIZE][/FONT]

[URL=“[http://www.kirupa.com/forum/showthread.php?t=319492](http://www.kirupa.com/forum/showthread.php?t=319492)”]
