Topic: height=100% not working for a Flash movie
Hello,
I'm using PunBB 1.2.12 and would like to embed a Flash movie
at 1 of its pages. The Flash movie should be strechted and that
is why I have added HEIGHT=100% and WIDTH=100% to its
OBJECT- and EMBED-tags:
<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="Pref">
<param name="movie" value="Pref.swf" />
<param name="bgcolor" value="#999999" />
<param name="FlashVars" value="id=1&hash=xxx">
<embed src="Pref.swf" bgcolor="#999999" width="100%" height="100%"
name="Pref" FlashVars="id=1&hash=xxx" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
Unortunately while the WIDTH=100% seems to work, the HEIGHT doesn't.
I suspect that PunBB CSS settings are the cause and have tried putting
this line into /style/phpbb_blue.css and /style/Radium.css :
HTML, BODY, OBJECT { MARGIN: 0; PADDING: 0; WIDTH: 100%; HEIGHT: 100%; }
That didn't help either. The height of my Flash movie is too tiny
and it looks like it has been squashed by a hammer. Here it is:
http://preferans.de/height.php
Does anybody please have an advice for me? I'm not very fluent in CSS
Regards
Alex
PS: I'm using Firefox 1.0.7 both on Linux and Windows