homepage Welcome to WebmasterWorld Guest from 54.145.172.149
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
urgent help please
geoffb

5+ Year Member



 
Msg#: 4115890 posted 6:39 pm on Apr 14, 2010 (gmt 0)

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

 

astupidname

5+ Year Member



 
Msg#: 4115890 posted 1:21 am on Apr 15, 2010 (gmt 0)

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>

geoffb

5+ Year Member



 
Msg#: 4115890 posted 6:27 am on Apr 15, 2010 (gmt 0)

Hi astupidname,

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

Thanks again
Geoffb

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved