[flashpro] scaling flash to 100% of html table
Chris Kent
chris at dualstudios.com
Tue Jan 4 20:26:36 EST 2005
You need to add the "scale" property of exact fit.
Like this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=6,0,29,0" width="100%" height="100%">
<param name="movie" value="nameofflash.swf" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="menu" value="false" />
<param name="bgcolor" value="#878fa5" />
<param name="scale" value="exactfit">
<embed src="nameofflash.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="100%" height="100%"
scale="exactfit"></embed>
</object>
This should work.
-c
-----Original Message-----
From: Varun Shetty [mailto:varun.shetty at mphasis.com]
Sent: Tuesday, January 04, 2005 7:59 AM
To: Mailing list for professional Flash designers and developers
Subject: [flashpro] scaling flash to 100% of html table
Hi,
How can I put a flash with 100% height and width in a table that is also set
to 100% height by 100% width.
well I tried this code
<body bgcolor="#878fa5" topmargin="0" leftmargin="0" scroll="no"> <table
width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=6,0,29,0" width="100%" height="100%">
<param name="movie" value="nameofflash.swf" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="menu" value="false" />
<param name="bgcolor" value="#878fa5" />
<embed src="nameofflash.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object></td>
</tr>
</table>
With table property width="100%" height="100%"
And flash property width="100%" height="100%"
But it doesn't seem to work
Any suggestions on how I can make this work..?
Regards,
VARUN SHETTY
------------------------------------------------------------------
send message to the list: mailto:flashpro at muinar.org
[FlashPro] list info, subscribe, archive: http://flash-list.com/
There's also a WebPro mailing list: http://webdesign-list.com/
cutting-edge sounds for flash: http://flash-sounds.com/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.825 / Virus Database: 563 - Release Date: 12/30/2004
More information about the FlashPro
mailing list