XML loading in flash, not loading in browser

Could anyone give me a clue as to why when i test a movie in Flash my XML document is found and successfully loads (xml.status returns 0). However when the swf is used inside a browser, the swf can no longer find the XML document ( or something else ) ???

is there a way to pipe XML.status into a javascript function or some way to see what is going on inside of the browser environment?

thanks for any help.