# Xml loading swf does not work if embeded in html

**URL:** <https://forum.kirupa.com/t/xml-loading-swf-does-not-work-if-embeded-in-html/205219>\
**Category:** Uncategorized\
**Created:** [October 27, 2006, 4:51am UTC](https://forum.kirupa.com/t/xml-loading-swf-does-not-work-if-embeded-in-html/205219 "2006-10-27T04:51:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![corroded](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/corroded/32/2952_2.png) [@corroded](https://forum.kirupa.com/u/corroded)\
**Post date:** [October 27, 2006, 4:51am UTC](https://forum.kirupa.com/t/xml-loading-swf-does-not-work-if-embeded-in-html/205219/1 "2006-10-27T04:51:27Z")

</div>

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!
