XML loads into .swf, but not via .aspx page

Hi,

I have a flash file which pulls in factors from an XML file. It all works fine locally. However, I’ve found that when I put it on the server it doesn’t work. But it works fine if I browse to the .swf file directly. Therefore, I assume it must be a problem with the aspx page. Does anybody have any ideas? I’ve tried changing the charset to UTF-8 and the doctype etc, although I’m rubbish with these bits so I may have done this incorrectly.

Any help is appreciated!