PDA

View Full Version : wat is the html to add a flash to a page?



darco9x2
02-01-2005, 10:01 PM
does anybody know the code to add flash to a page?

cr3ative
02-02-2005, 01:35 PM
www.google.com knows all.

Also, try not to use flash on websites unless the whole content is flash based - it is generally bad practice.

cr3ative

darco9x2
02-02-2005, 11:21 PM
its for a banner in a seperate frame. and i found the code at ask.com.



<OBJECT
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=
"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME="movie" VALUE="myFlashMovie.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<EMBED src="myFlashMovie.swf" quality="high" bgcolor="#FFFFFF"
WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
this is supposed to work on multiple browsers, or

this..

<p><embed width="640" height="480" src="http://www.yoursite.com/yourflash.swf"></p>
but it may not work on all browsers.