Xml loading swf does not work if embeded in html

I have an swf that is fully working right now when I test it. it loads images using an xml file and I have tested it and it works well. The swf file is located in a folder named “root” and then the swf and image files it loads are in the “root/swf” and “root/images” directories respectively. teh XMl file it loads is in “root/xml”

the problem is when i publish it in an html file, it doesn’t load. I tried putting absolute patsh like c:/documents and setting…etc and teh swf works alone, but not in the html. What’s the problem here? The html and swf are in the same folder, in the “root” folder by the way.

Thanks!