XML Photo Gallery and WWW/HTTP Question

Hey everyone,
My question is, why is it that the photo gallery (http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm) works when the URL contains www as in [url=“http://www.kirupa.com”]www.kirupa.com, and not when the www is removed such as [url=“http://kirupa.com”]http://kirupa.com is used?

Works: http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
No work: http://kirupa.com/developer/mx2004/xml_flash_photogallery.htm

:pirate3:

That’s probably becasue the script usus a wrong ‘homeaddress’. It uses www.kirupa.com as a place to find the photo’s. It is always a much beter idea to use relative directories.

Or it is because flash recons that it is a whole other domain and it’s “no-download-from-other-domains-silly!”- secrurity goes into effect.

Hmm - is there a way I can specify in the XML file to allow multiple domains?

NM: I found the code to add:

<?xml version="1.0"?>
<cross-domain-policy>
  <allow-access-from domain="kirupa.com"/>
</cross-domain-policy>





Thanks :slight_smile: