3 Replies Latest reply on Aug 22, 2006 10:31 PM by Newsgroup_User

    How can I make my flash shrink on smaller resolutions?

    Josh_Pratt
      The site that I'm working on is just a tad too big for an 800x600 resolution. Is there an easy way that I can make is so that the swf will shrink to fit entirely in the browser window, but will not expand any larger than the origional swf size?
        • 1. Re: How can I make my flash shrink on smaller resolutions?
          LSNsaltlamp Level 1
          I have not used this or tested it but it seems to me that you would set your scale mode to exact fit and write a statement like this:

          if(Stage.width>800){
          Stage.width = 800
          }
          if(Stage.height>600){
          Stage.height=600
          }
          • 2. Re: How can I make my flash shrink on smaller resolutions?
            Level 7
            "LSNsaltlamp" <jonathan@genesisdigitalsolutions.com> wrote in message news:ecftph$pgf$1@forums.macromedia.com...
            >I have not used this or tested it but it seems to me that you would set your
            > scale mode to exact fit and write a statement like this:
            >
            > if(Stage.width>800){
            > Stage.width = 800
            > }
            > if(Stage.height>600){
            > Stage.height=600
            > }

            No, sorry. Stage parameters are read only.
            You can set your html to always display the Flash at 100% browser window size though, or use a re-size listener.
            tralfaz


            • 3. Re: How can I make my flash shrink on smaller resolutions?
              Level 7


              tralfaz wrote:
              > "LSNsaltlamp" <jonathan@genesisdigitalsolutions.com> wrote in message news:ecftph$pgf$1@forums.macromedia.com...
              >> I have not used this or tested it but it seems to me that you would set your
              >> scale mode to exact fit and write a statement like this:
              >>
              >> if(Stage.width>800){
              >> Stage.width = 800
              >> }
              >> if(Stage.height>600){
              >> Stage.height=600
              >> }
              >
              > No, sorry. Stage parameters are read only.
              > You can set your html to always display the Flash at 100% browser window size though, or use a re-size listener.
              > tralfaz

              and DO NOT scale movies down. Better make the movie smaller and scale it up rather than scale it
              down. While scaling down you going to lose quality of your text, especially small typo will become
              unreadable. Never the case with scaling movies up.



              --
              Best Regards

              Urami


              --


              <urami>
              If you want to mail me - DO NOT LAUGH AT MY ADDRESS
              </urami>