Programming Notes – Matt Jorgensen

March 18, 2008

crossdomain xml file

Filed under: misc — Tags: , , — flexprimer @ 1:35 pm

The Flash player has a security sandbox that disallows loading data (a swf) from other domains, including subdomains. To get around this, install a crossdomain.xml file in the web root:

<?xml version=”1.0″?>
<!DOCTYPE cross-domain-policy
SYSTEM “http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd”>
<cross-domain-policy>
<allow-access-from domain=”*.mywebsite.com” />
</cross-domain-policy>

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.