Most recent versions of Flash will automatically generate the code for you but, for whatever reason, if you need to do this then use this code:
code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,23,0"
width="WIDTH"
height="HEIGHT"
id="myMovieName">
<param name="movie" value="URL">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<embed src="URL"
width="WIDTH"
height="HEIGHT"
quality="high"
bgcolor="#ffffff"
name="myMovieName"
align=""
type="application/x-shockwave-flash"
pluginspace="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
-------------------------
Relevant links:
http://www.macromedia.com/support/flash/ts/documents/tn4150.html
http://www.macromedia.com/support/director/how/shock/objembed.html
Flash Satay: Embedding Flash while supporting standards - an interesting overview of one man's journey into making the above code simpler.
-------------------------
Relevant FAQs:
Why do I have to use the <OBJECT> and <EMBED> tags?
----------------------------
Relevant note:
As of writing this FAQ is number 4 at Google in the search for the terms embed, flash, movie (up from 9) and 9 for the terms embed, movie.
___________________
Emperor
(Added by: Emperor on Sat 22-Jun-2002)
(Edited by: kuckus on Sun 18-Aug-2002)
(Edited by: Emperor on Mon 11-Nov-2002)
|