# Flash working in dreamweaver preview but not in website

**URL:** <https://forum.kirupa.com/t/flash-working-in-dreamweaver-preview-but-not-in-website/264936>\
**Category:** Uncategorized\
**Created:** [July 2, 2008, 7:37am UTC](https://forum.kirupa.com/t/flash-working-in-dreamweaver-preview-but-not-in-website/264936 "2008-07-02T07:37:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karern](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@karern](https://forum.kirupa.com/u/karern)\
**Post date:** [July 2, 2008, 7:37am UTC](https://forum.kirupa.com/t/flash-working-in-dreamweaver-preview-but-not-in-website/264936/1 "2008-07-02T07:37:05Z")

</div>

[SIZE=2]Hi!  
Can someone help me pls!

I’ve done a really simple flash file and embedded it onto my HTML page using dreamweaver (Insert -\>Media).

When i preview the page using Dreamweaver in Safari and Firefox, they both work, however when upload the HTML file to my server, i don’t see anything on the page except the title. (the page is fully in flash, it’s just one flash movie, the .swf file is 20KB)

this is my code:[/SIZE]

[COLOR=Red]\<title\>plan. prepare. play.\</title\>  
\<script src=“AC\_RunActiveContent.js” type=“text/javascript”\>\</script\>  
\<table width=“800” height=“294” border=“0” align=“center”\>  
\<tr\>  
\<td width=“800” height=“500” align=“center” valign=“middle”\>\<script type=“text/javascript”\>  
AC\_FL\_RunContent( ‘codebase’,‘[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0’,‘width’,‘800’,‘height’,‘500’,‘src’,‘homepage’,‘quality’,‘high’,‘pluginspage’,‘http://www.adobe.com/shockwave/download/download.cgi?P1\_Prod\_Version=ShockwaveFlash’,‘movie’,'homepage](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','800','height','500','src','homepage','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','homepage)’ ); //end AC code  
\</script\>\<noscript\>\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0)” width=“800” height=“500”\>  
\<param name=“movie” value=“homepage.swf” /\>  
\<param name=“quality” value=“high” /\>  
\<embed src=“homepage.swf” quality=“high” pluginspage=“[http://www.adobe.com/shockwave/download/download.cgi?P1\_Prod\_Version=ShockwaveFlash](http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash)” type=“application/x-shockwave-flash” width=“800” height=“500”\>\</embed\>  
\</object\>\</noscript\>\</td\>  
\</tr\>  
\</table\>  
[SIZE=2][COLOR=Black]  
[/COLOR][/SIZE][SIZE=2][COLOR=Black]please help!!

many thanks![/COLOR]  
[/SIZE][/COLOR]

---

<div class="post-metadata">

**Author:** ![onion](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/onion/32/3349_2.png) [@onion](https://forum.kirupa.com/u/onion)\
**Post date:** [July 2, 2008, 8:53am UTC](https://forum.kirupa.com/t/flash-working-in-dreamweaver-preview-but-not-in-website/264936/2 "2008-07-02T08:53:40Z")

</div>

I wouldn’t use the embed facility in dreamweaver if I were you, it uses a method that isn’t the best way to display flash across all browsers. In my opinion it’s best to embed it using the swfobject method - [http://blog.deconcept.com/swfobject/](http://blog.deconcept.com/swfobject/)

More info here - [http://code.google.com/p/swfobject/](http://code.google.com/p/swfobject/)
