A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Makes no sence... full stretch.

  1. #1
    Senior Member
    Join Date
    Jan 2003
    Location
    New York/London
    Posts
    367

    Makes no sence... full stretch.

    what is wrong with this code.. its driving me crazy... i want the flash to be 100% resize without the content changing in size....

    Code:
    <script type="text/javascript" src="flashobject.js"></script>
    <script type="text/javascript">
    //<![CDATA[
    self.moveTo(0,0)
    self.resizeTo(screen.availWidth,screen.availHeight)
    //]]>
    </script>
    
    <link href="vibetribe_net_styles.css" rel="stylesheet" type="text/css">
    </head>
    <body bgcolor="#FFFFFF" link="#999999" vlink="#CCCCCC" alink="#666666">
    
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="100%" align="center" valign="middle"> <div id="flashcontent">vibetribe content</div></td>
      </tr>
    </table>
    <script type="text/javascript">
       var fo = new FlashObject("vibetribe_net_2007.swf", "TheDirectorsCut", "100%", "100%", "8.0.22", "#000000",true);
       fo.addParam("quality", "high");
       fo.addParam("wmode", "transparent");
       fo.addParam("salign", "t");
       fo.addParam("scale", "noscale");
       fo.write("flashcontent");
    </script>

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    On the first frame of your flash movie:

    Code:
    Stage.scaleMode = "no scale";

  3. #3
    Senior Member
    Join Date
    Jan 2003
    Location
    New York/London
    Posts
    367
    nope that didnt work...and if u look at my code... i have a noscale parameter included.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center