Click to See Complete Forum and Search --> : Problems with flash site in firefox
wh666-666
05-05-2006, 07:00 PM
Hi, just wondering if someone can help please. Created a flash site by creating a flash movie and making it expand 100% height and width. Works fine in IE/opera etc with all resolutions. Taken a look at it recently with mozilla firefox and it squeezes it up in to the top right of the screen instead of expanding the movie to 100% (its actually shrunk the original movie size drastically. Can anyone help please as i dont know too much about firefox and all its kinks?
<Eddie>
05-06-2006, 04:22 AM
A common problem. It's not Flash that's at fault here, it's the container, for example in CSS, a TABLE, DIV or even the BODY or HTML elements that are causing this. Remember, the movie is set to 100%; but 100% of what?
<style type="text/css">
<!--
/* start hiding from ie5 mac \*/
html { height: 99%;}
object, embed { height: 100%; }
/* stop hiding from ie5 mac */
body { height: 99%; }
-->
</style>
Don't contain the movie and try the CSS quoted for cross browser compatibility.
Oh, and Firefox doesn't have kinks. The Gecko engine is probably one of, if not the most faithful rendering engines that follows the standards.
wh666-666
05-06-2006, 08:19 AM
Thanks for the help eddie, il give it a try as i might just need to alter my html very slightly, btw this is the code i already have, just tried it again in firefox and now it works even though i havnt changed it yet
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Palmpool</title>
<style type="text/css">
<!--
body {
background-color: #FF9900;
}
-->
</style></head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="100%">
<param name="movie" value="main4.swf">
<param name="quality" value="high">
<embed src="main4.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object>
</body>
</html>