Welcome to WebmasterWorld Guest from 54.158.228.55

Forum Moderators: open

Message Too Old, No Replies

urgent help please

     
6:39 pm on Apr 14, 2010 (gmt 0)

5+ Year Member



Hi all,

I have done a flash site which is to be full browser width.

The publish settings have been set to percent, the object embed in the html is set to 100% width and height and yet the website when viewed live on the internet it goes to full width, but three quarters of the bottom of the site are missing. You can right click this area and it is not part of the flash file.

Can anyone help please. Its probably something simple. I hope!

Geoffb
1:21 am on Apr 15, 2010 (gmt 0)

5+ Year Member



Remember that setting the object or (illegal) embed it's self to 100% height and width only assumes the full size of it's parent container. It's parent elements need be full size if the object is to take up the full browser.

Full Browser Width/Height Flash Object Example:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Full Browser Height/Width Flash</title>
<style type="text/css">
* {
margin:0;
padding:0;
}
html,body {
height:100%;
}
img {
border:0;
}
object {
display:block;
}
.noflash {
text-align:center;
margin:20px auto;
}
</style>
</head>
<body>
<div style="height:100%;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%">
<param name="movie" value="flashThingy.swf">
<param name="allowScriptAccess" value="sameDomain">
<param name="quality" value="high">
<param name="bgcolor" value="#006699">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flashThingy.swf" width="100%" height="100%">
<param name="allowScriptAccess" value="sameDomain">
<param name="quality" value="high">
<param name="bgcolor" value="#006699">
<!--<![endif]-->
<!--ALTERNATE CONTENT-->
<p class="noflash">You need to<br><a href="http://get.adobe.com/flashplayer/">
<img src="http://www.adobe.com/images/shared/download_buttons/get_adobe_flash_player.png" alt="get flash player"></a></p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
6:27 am on Apr 15, 2010 (gmt 0)

5+ Year Member



Hi astupidname,

Thanks for that very much. I didn't realise about that and will give that a go today.

Thanks again
Geoffb
 

Featured Threads

Hot Threads This Week

Hot Threads This Month