Hi Andrea,
Using Flash itself I get the following code between the 2 types.
The code for Fixed & Percentage is below:
Code:
Fixed Code
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="250" height="100" id="sizingtest_fixed" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="sizingtest_fixed.swf" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><embed src="sizingtest_fixed.swf" quality="high" bgcolor="#ffffff" width="250" height="100" name="sizingtest_fixed" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Percentage Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="sizingtest_percent" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="sizingtest_percent.swf" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><embed src="sizingtest_percent.swf" quality="best" bgcolor="#ffffff" width="100%" height="100%" name="sizingtest_percent" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Notice the width & height attributes are either sizes in pixels or percentages.
You'll need to alter the swf file names of course.
Bookmarks