GGshow reloaded GGshow reloaded

April 21, 2007

Cross-domain policy

Issue:

  • Unable to load variables or XML data into a Flash movie from another domain/subdomain.
  • Unable to load swf or flv into Flash movie from another domain/subdomain.

Reason:
For security reasons, data loading operations (load, loadMovie, loadVariables, & etc.) from a different domain is not permitted.

Solution:
Create a cross-domain policy file (crossdomain.xml) and place on the site root of the server you wish to access with the movie.

Cross-domain policy files is a simple XML file that gives the Flash Player permission to access data from a given domain without displaying a security dialog, the file can be created in a simple text editor such as Notepad or SimpleText.

Additional Information:
crossdomainxml.org

LiveDocs:
Using policy files

TechNote:
External data not accessible outside a Macromedia Flash movie’s domain
Loading data across domains
Macromedia Flash movie fails to load data in Flash Player 7

Filed under: Flash Platform,Web — Tags: , , , — GG @ 3:34 pm

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

© 2017 GGSHOW | Powered by WordPress