# I need the HTML code to add .swf to html

**URL:** <https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357>\
**Category:** Uncategorized\
**Created:** [April 4, 2003, 3:57am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357 "2003-04-04T03:57:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkkkk](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kkkkk](https://forum.kirupa.com/u/kkkkk)\
**Post date:** [April 4, 2003, 3:57am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/1 "2003-04-04T03:57:12Z")

</div>

someone plz tell me the html code to add .swf and .fla to a html site :skull:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 4:01am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/2 "2003-04-04T04:01:58Z")

</div>

You don’t add the .fla to an html site, that is what you make the movie with.

As for the .swf.

Just go to File/Publish Settings and make sure the checkboxes for the files you export are checked for HTML and .SWF, then hit the publish button.

It will export the .swf file and the .html file, and you can take the code from the .html file.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 4:02am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/3 "2003-04-04T04:02:23Z")

</div>

Or search the forum or site :-\

[http://www.kirupa.com/developer/flash5/html.htm](http://www.kirupa.com/developer/flash5/html.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 4:03am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/4 "2003-04-04T04:03:53Z")

</div>

hey thanks alot man

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 4:06am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/5 "2003-04-04T04:06:30Z")

</div>

no problem.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 6:15am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/6 "2003-04-04T06:15:47Z")

</div>

well kool

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 5, 2003, 2:49am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/7 "2003-04-05T02:49:07Z")

</div>

Or you could use this:

```php
<embed src="URL OF MOVIE.swf"height="100%"width="100%"></embed>

```

\<br\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 5, 2003, 10:44am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/8 "2003-04-05T10:44:15Z")

</div>

> \*Originally posted by bacon\_bits \*  
> \*\*Or you could use this:

```php
<embed src="URL OF MOVIE.swf"height="100%"width="100%"></embed>

```

\<br\> \*\*

Well yes, but then they would \<b\>only\</b\> be able to see the swf if they were running Netscape \<b\>and\</b\> had the correct plugins.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2003, 2:55am UTC](https://forum.kirupa.com/t/i-need-the-html-code-to-add-swf-to-html/17357/9 "2003-04-07T02:55:54Z")

</div>

Ohhh. My Bad:chinaman:
