Scaling Issues

  • goatomatic
  • Born
  • Born
  • goatomatic
  • Posts: 1
  • Loc: Georgia, USA

Post 3+ Months Ago

I've been trying to make my flash files scalable, but have run into some trouble. In the publish settings under the html tab I used percent, but when I change the size of the window it cuts off parts of it unless it is exactly the right size. So I changed the scale setting to default (it was on no border), but now everything that's outside of the stage shows up unless it's the exact right size. I tried exact fit, but it didn't keep the proportions right. Is there any way to allow scaling without parts of it getting cut off, and nothing outside the stage showing? or is it impossible?
  • roarmeow
  • Professor
  • Professor
  • User avatar
  • Posts: 861
  • Loc: BKNY

Post 3+ Months Ago

i used a div tag and here's an example of a page i did that does what you want yours to do... enjoy...

Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
  <style type="text/css">
  <!--
body {
    background-color: #FFFFFF;
}

  #centerBox {
    width: 100%;
        max-width: 1274px;
    height: 100%;
        max-height: 700px;
    position: absolute;
        left:0;
        top:0;
    border: 0;
    overflow: auto;
    
  }
  -->
  </style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<script LANGUAGE="JavaScript1.2">
<!--
window.moveTo(0,0); window.resizeTo(screen.availWidth,screen.availHeight);
// -->\
</script>

<body>
<div id="centerBox" height="100%" width="100%">

 <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%" align="absmiddle">
  <param name="movie" value="nute14h.swf">
  <param name=quality value=high><param name="BGCOLOR" value="#FFFFFF">
  <embed src="nute14h.swf" width="100%" height="100%" maxwidth="1274" align="absmiddle" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFFF"></embed>
 </object>
</div>
</body>
</html>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <LINK REL="SHORTCUT ICON" HREF="favicon.ico">
  6.   <style type="text/css">
  7.   <!--
  8. body {
  9.     background-color: #FFFFFF;
  10. }
  11.   #centerBox {
  12.     width: 100%;
  13.         max-width: 1274px;
  14.     height: 100%;
  15.         max-height: 700px;
  16.     position: absolute;
  17.         left:0;
  18.         top:0;
  19.     border: 0;
  20.     overflow: auto;
  21.     
  22.   }
  23.   -->
  24.   </style>
  25. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  26. <title>Untitled Document</title>
  27. </head>
  28. <script LANGUAGE="JavaScript1.2">
  29. <!--
  30. window.moveTo(0,0); window.resizeTo(screen.availWidth,screen.availHeight);
  31. // -->\
  32. </script>
  33. <body>
  34. <div id="centerBox" height="100%" width="100%">
  35.  <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%" align="absmiddle">
  36.   <param name="movie" value="nute14h.swf">
  37.   <param name=quality value=high><param name="BGCOLOR" value="#FFFFFF">
  38.   <embed src="nute14h.swf" width="100%" height="100%" maxwidth="1274" align="absmiddle" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFFF"></embed>
  39.  </object>
  40. </div>
  41. </body>
  42. </html>

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 7 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
 
cron
 

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