I'm using AS3 and pulling an xml file into flash. It does not seem to work unless I use absolutes. When I use http://www.sitesname.com/assets/flash/news.xml it will work when I load the site in a browser using www.sitesname.com but not when I load sitesname.com.

If I change the AS to http://sitesname.com/assets/flash/news.xml then the reverse is true. It will work when you type sitesname.com into a browser but not with the www.

Is there a way to get this to work if they use either www.sitesname.com or sitesname.com? Relative paths don't seem to load at all for some reason. I wouldn't worry about it, but for the fact I've had several clients experience this problem with my site.