# Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish featur

**URL:** <https://forum.kirupa.com/t/problem-with-placing-swf-file-into-my-web-site-using-flash-cs3-html-publish-featur/265084>\
**Category:** web dev\
**Created:** [July 3, 2008, 6:45pm UTC](https://forum.kirupa.com/t/problem-with-placing-swf-file-into-my-web-site-using-flash-cs3-html-publish-featur/265084 "2008-07-03T18:45:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpf566](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@jpf566](https://forum.kirupa.com/u/jpf566)\
**Post date:** [July 3, 2008, 6:45pm UTC](https://forum.kirupa.com/t/problem-with-placing-swf-file-into-my-web-site-using-flash-cs3-html-publish-featur/265084/1 "2008-07-03T18:45:31Z")

</div>

OK heres the deal guys… Normally I use dreamweaver to just throw my .swf files into my web pages…BUT the way that dreamweaver embeds the flash files does not work with the preloader that I’ve made. SO I ended up using the FLASH export HTML publish feature thingy…which works GREAT! Only problem is I don’t want my SWF file to be in the same directory of the HTML file… so…

All I want is to be able to change the location of where this code is getting my SWF file! I pasted the code and the 2 parts that I changed are highlighted…. (I added Flash/ in front of the file name) IT DOSENT WORK! Why?? Thanks everyone!

\<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0)” width=“338” height=“159” id=“preloader” align=“middle”\>  
\<param name=“allowScriptAccess” value=“sameDomain” /\>  
\<param name=“allowFullScreen” value=“false” /\>  
\<param name=“movie” **value=“flash/preloader.swf”** /\>\<param name=“quality” value=“high” /\>\<param name=“bgcolor” value="#ffffff" /\> \<embed **src=“flash/preloader.swf”** quality=“high” bgcolor="#ffffff" width=“338” height=“159” name=“preloader” align=“middle” allowScriptAccess=“sameDomain” allowFullScreen=“false” type=“application/x-shockwave-flash” pluginspage=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)” /\>  
\</object\>  
\</noscript\>

---

<div class="post-metadata">

**Author:** ![akbunny](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@akbunny](https://forum.kirupa.com/u/akbunny)\
**Post date:** [July 9, 2008, 2:47pm UTC](https://forum.kirupa.com/t/problem-with-placing-swf-file-into-my-web-site-using-flash-cs3-html-publish-featur/265084/2 "2008-07-09T14:47:09Z")

</div>

is the map flash in the same dictionary as the page u load ur flash in? if it is 1 map up u should add …/ to the path. if its located in a map underneath, u should add that map 2 (example: swf/flash/preloader.swf)
