# Newbie question: .swf & .html separation, please beware

**URL:** <https://forum.kirupa.com/t/newbie-question-swf-html-separation-please-beware/185945>\
**Category:** Uncategorized\
**Created:** [April 17, 2006, 11:15pm UTC](https://forum.kirupa.com/t/newbie-question-swf-html-separation-please-beware/185945 "2006-04-17T23:15:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![obb1115](https://avatars.discourse-cdn.com/v4/letter/o/f9ae1b/32.png) [@obb1115](https://forum.kirupa.com/u/obb1115)\
**Post date:** [April 17, 2006, 11:15pm UTC](https://forum.kirupa.com/t/newbie-question-swf-html-separation-please-beware/185945/1 "2006-04-17T23:15:04Z")

</div>

Newbie with a quick question…

The xxx.swf and the xxx.html who has the swf embedded, do they _have_ to be under the same folder.

**What I’m trying to achieve:**  
Embed a swf in a html which is stored independant of (separate folder, or  
even server) the swf file.

\*\*Attempted:  
\*\*1 - In the html code, entered ‘param value’ and ‘embed src’ in absolute path… \*[www.webhost.com/path/name.swf](http://www.webhost.com/path/name.swf)

\*2 - In the fla(source file), entered the images path as absolute path… \*[www.webhost.com/path/images/](http://www.webhost.com/path/images/)…jpg

\*Both attempts, failed… resulting in working buttons, but missing images, etc.  
\*\*FLA source:  
\*\*Basically, it’s straight off the flash help/tutorial… Titled: \*\*_Building Your First Flash Application_

\*\*Location: c:…\your flash installation\Samples and Tutorials\Tutorial\_assets\cafe\_townsend

**Note:** I know putting the .swf and .html file together would work. But I’m trying/attempting to make banner that’s portable. Do I have the wrong concept? Or it’s a wrong example/template to start with…?

Thank you all~

---

<div class="post-metadata">

**Author:** ![Soig](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Soig](https://forum.kirupa.com/u/Soig)\
**Post date:** [April 17, 2006, 11:45pm UTC](https://forum.kirupa.com/t/newbie-question-swf-html-separation-please-beware/185945/2 "2006-04-17T23:45:25Z")

</div>

Hi, the attempt you made should have worked. I suspect its a Syntax error. You should post the FLA and HTML document in order for us to help you
