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

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/
The pictures show up.

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

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

and a link to the .xml file:
http://thesocalnovas.com/flash/photos.xml

If the html file is in the same folder as the swf & as file, http:// or 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://thesocalnovas.com/flash/test.html

Html in folder different than other:
http://thesocalnovas.com/test.html
http://www.thesocalnovas.com/test.html

Thanks for the help!