PDA

View Full Version : correct way to insert flash


BroChris
09-15-2002, 11:02 PM
I'm trying to make sure my page is html 4.01 Transitional compliant, and when I went to validate it, it did not like any of the attributes I used to insert flash. What is the correct way to insert flash? Here's the code I used:


<embed name="intro" src="intro.swf" quality="high" bgcolor="#FFD800" width="183" height="207" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>

MCookie
09-15-2002, 11:38 PM
Not that I ever use Flash, but this will validate :)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="183" height="207" codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<param name="src" value="intro.swf">
<param name="play" value="true">
<param name="loop" value="false">
<param name="quality" value="high">
<param name="menu" value="false"></object>

BroChris
09-16-2002, 02:43 AM
thanks a bunch :)