# How to embed flash into html

**URL:** <https://forum.kirupa.com/t/how-to-embed-flash-into-html/264944>\
**Category:** Uncategorized\
**Created:** [July 2, 2008, 11:57am UTC](https://forum.kirupa.com/t/how-to-embed-flash-into-html/264944 "2008-07-02T11:57:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [July 2, 2008, 11:57am UTC](https://forum.kirupa.com/t/how-to-embed-flash-into-html/264944/1 "2008-07-02T11:57:00Z")

</div>

I know you can use the html export button in flash.  
But is there a cleanier less confusing method of embeding a .swf into html.  
I want to implement a side nav on my html site, so i would want something that is a little bit more organized.

---

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [July 2, 2008, 12:23pm UTC](https://forum.kirupa.com/t/how-to-embed-flash-into-html/264944/2 "2008-07-02T12:23:38Z")

</div>

[search]swfobject[/search]

---

<div class="post-metadata">

**Author:** ![tkmk](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tkmk](https://forum.kirupa.com/u/tkmk)\
**Post date:** [July 15, 2008, 12:57am UTC](https://forum.kirupa.com/t/how-to-embed-flash-into-html/264944/3 "2008-07-15T00:57:35Z")

</div>

Directly code the .swf into your HTML file. The \<embed\> tag should work.

P.S. It seems that I have asked this question before…

---

<div class="post-metadata">

**Author:** ![Gnowoga](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Gnowoga](https://forum.kirupa.com/u/Gnowoga)\
**Post date:** [July 15, 2008, 10:04am UTC](https://forum.kirupa.com/t/how-to-embed-flash-into-html/264944/4 "2008-07-15T10:04:06Z")

</div>

You don’t want to risk that your flash does not show in some browsers so:

I would recommend SWFobject to embed your flash. Standard compliance, version checker, alternative content and much more.

> **[swfobject/swfobject](https://github.com/swfobject/swfobject)**
>
> swfobject - An open source Javascript framework for detecting the Adobe Flash Player plugin and embedding Flash (swf) files.
