Developer forum

Forum » Development » Flash/Firefox/embed tag

Flash/Firefox/embed tag


Reply

Hi everybody


 


I have a paragraph with two flash-files. These show up ok in IE but not in Firefox.


 


Sourcecode is:


>object id="movie" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="320" width="262" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">

           

           

           

            >/object>


 


In order to get this to work in Firefox I have to add the embed tag after the object tag. Source code should be:


 


>object id="movie" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="320" width="262" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">

           

           

           

           


>embed src="/Files/Billeder/flashfiler/Create_e-mail.swf" width="262" height="320">>/embed>


 


When I save this DW strips the embed tag ie. deletes the entire embed tag.


 


Can anybody tell me why DW deletes this tag and how to make my flash show in Firefox?


 


Kind regards,


Thami


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Tami


 


If you paste the code in the editor, the editor will do with it what it likes - DW does not control that. Instead, you should make a html file placed in /Files/Billeder/../*.html with the html code. Then on a paragraph, choose this html file in the image dropdown. This way Dynamicweb will read the html file without altering the html.


 


Another option is to choose the .swf in the image dropdown directly on the paragraph - Dynamicweb will then embed the swf in the right way. You can control WMMODE and flash version in control panel, Stylesheet.

 

You must be logged in to post in the forum