# XML: works with http:// but not http://www

**URL:** <https://forum.kirupa.com/t/xml-works-with-http-but-not-http-www/282384>\
**Category:** Uncategorized\
**Created:** [February 21, 2009, 4:34am UTC](https://forum.kirupa.com/t/xml-works-with-http-but-not-http-www/282384 "2009-02-21T04:34:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StoveboltMedia](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@StoveboltMedia](https://forum.kirupa.com/u/StoveboltMedia)\
**Post date:** [February 21, 2009, 4:34am UTC](https://forum.kirupa.com/t/xml-works-with-http-but-not-http-www/282384/1 "2009-02-21T04:34:42Z")

</div>

I’m not sure if my question belongs in the ActionScripting section or the XML section.

I am working with an XML photo gallery that I found online. I’ve edited it to suit my needs, except for one problem.

When you go to  
[http://thesocalnovas.com/](http://thesocalnovas.com/)  
The pictures show up.

When you go to  
[http://www.thesocalnovas.com/](http://www.thesocalnovas.com/)  
The pictures don’t show up.

Here is a link to the .as file:  
[http://thesocalnovas.com/flash/gallery.as](http://thesocalnovas.com/flash/gallery.as)

and a link to the .xml file:  
[http://thesocalnovas.com/flash/photos.xml](http://thesocalnovas.com/flash/photos.xml)

If the html file is in the same folder as the swf & as file, http:// or [http://www](http://www). will work if I just use a relative path for the xml in the as file. If all of these files aren’t in the same folder, it won’t work at all.  
All in same folder:  
[http://www.thesocalnovas.com/flash/test.html](http://www.thesocalnovas.com/flash/test.html)  
[http://thesocalnovas.com/flash/test.html](http://thesocalnovas.com/flash/test.html)

Html in folder different than other:  
[http://thesocalnovas.com/test.html](http://thesocalnovas.com/test.html)  
[http://www.thesocalnovas.com/test.html](http://www.thesocalnovas.com/test.html)

Thanks for the help!
