A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Stage - no_scale

  1. #1
    Lovely Lisa
    Join Date
    Jan 2009
    Location
    New York City
    Posts
    31

    Stage - no_scale

    Hello flashers...

    I'm trying to prevent my stage from scaling when my site is viewed on a large monitor. In the Publish settings and on the html tab, my dimensions are set to 100 percent for the width and height.

    Now,I do want to keep my dimensions as 100 percent for the width and height, but I never want the stage to scale regardless of the monitor size.

    the following code don't seem to be working:


    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.display.Stage;
    import flash.display.Sprite;

    var myStage:Stage;

    myStage = this.stage;
    myStage.align = StageAlign.TOP_LEFT;
    myStage.scaleMode = StageScaleMode.NO_SCALE;


    thanks for any guidance...


    x lisa x

  2. #2
    Señor Member Mavrisa's Avatar
    Join Date
    Oct 2005
    Location
    Canada
    Posts
    506
    In your publish settings panel there is another dropdown menu called scale. Simply set it to no scale. That has always worked for me in the past.
    Haikus are easy
    But sometimes they don't make sense
    Refrigerator

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