Does anyone know how to apply a height to a flash object? For some
reason when you set the height as a percentage, it is not applied to the
flash object, but if I set the height using any other units (px, em,
etc.) it is applied correctly. I've looked around for answers but all
I've been able to see is how to make a flash play 100% of window height
(not what I'm trying to do) and how to make css work IN flash.
Here is the relevant section of my code:
#flashContent
{
width: 100%;
height: 30.833%;
max-width: 858px;
max-height: 276px;
}
#flashContent object, #flashContent embed
{
width: 99.3006993%;
height: 97.8260869%;
max-width: 852px;
max-height: 270px;
}
<div id="flashContent">
<object
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0">
<param name="movie" value="flashcontent.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="quality" value="best" />
<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="flashcontent.swf" bgcolor="#ffffff" quality="best" />
</object>
</div>
--
Thanks,
Jim
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/