Flash 100% dimensions not working in Mozilla

  • devilwood
  • Silver Member
  • Silver Member
  • User avatar
  • Posts: 436

Post 3+ Months Ago

I have a swf file embedded in a webpage with the dimensions set to 100% because it needs to take up the user's whole screen. However, in Mozilla the swf gets displayed at maybe 1/10 it's size. Does an update fix this as I've told the person to update their mozilla and flash player? I've read where there are some options in the browser to tell it to display fullscreen, but I'm sure not all mozilla users know to do that to view a 100% width/height flash movie.

Please advise on how I can get the same display in mozilla.

No problems in IE.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • RockmanTV
  • Proficient
  • Proficient
  • RockmanTV
  • Posts: 348

Post 3+ Months Ago

I'm not sure on this, but it may be an embed/object code issue. Can you post the HTML you're using to embed your flash file on your site?
  • devilwood
  • Silver Member
  • Silver Member
  • User avatar
  • Posts: 436

Post 3+ Months Ago

Code: [ Select ]
<body>
<div align="left">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%">
    <param name="movie" value="frame.swf" />
    <param name="quality" value="high" />
    
    <embed src="frame.swf" width="100%" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
</div>
</body>
  1. <body>
  2. <div align="left">
  3. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%">
  4.     <param name="movie" value="frame.swf" />
  5.     <param name="quality" value="high" />
  6.     
  7.     <embed src="frame.swf" width="100%" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
  8. </object>
  9. </div>
  10. </body>


Sorry for the delay. Please advise.
  • devilwood
  • Silver Member
  • Silver Member
  • User avatar
  • Posts: 436

Post 3+ Months Ago

Got it fixed.

It seems the <div> tag around the object source was the problem. I took that out and now I get 100% dimensions in firefox. Maybe this will help someone later. All the other places I looked just said set with css the body and html tags to 100%. This is obviously only partially correct. While those do have to be set, the dimensions in firefox are still set to the containing element, in this case the <div>.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 12 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.