2 Replies Latest reply on Aug 31, 2009 8:44 AM by dtskuntal

    RE SIZE MY FLEX APPLICATION

    dtskuntal

      Hello All,

      I have an flex web application which is changing all its dimension
      depending on a parameter passed by Flash vars.

      Sometimes its dimensions are width 1375px and height 650px. and
      sometimes of width 1260px  and height 1020px.

      But it is a single application not 2 different application.

      For that reason I am getting scroll in the browser when i view it in
      800 X 600 resolution. I don't want to see scroll bar when I am viewing
      it .

      If the resolution is 800x 600, I want the application be fitted to the
      browser but without any scroll bar.

      I have images in my app and I don't want to see them distorted as well
      while I view my application


      I have tried with "stage.scaleMode = StageScaleMode.EXACT_FIT;" but it
      is distorting all my images.

      Is there any other possible solution?


      Please let me know if it is possible or not? If possible please tell
      me the way in which I can move to make it work?

        • 1. Re: RE SIZE MY FLEX APPLICATION
          babo_ya Level 3

          If the resolution is 800x 600, I want the application be fitted to the
          browser but without any scroll bar.

           

          >> verticalScrollPolicy = "off" horizontalScrollPolicy="off"

           

           

          I have tried with "stage.scaleMode = StageScaleMode.EXACT_FIT;" but it
          is distorting all my images.

           

          >> My on your images container or component you have width & height specified.

          What are you using? code?

           

          BaBo,

          • 2. Re: RE SIZE MY FLEX APPLICATION
            dtskuntal Level 1

            First of all thanks for your reply.

             

            At first please take a look at the attached pictures.

             

            The "err.jpg" is showing my application in resolution 800 X 600 . My application size is " 1260px  and height 1020px.".

             

            You can see that it is showing scrollbar when I am viewing it in 800 x 600.

             

            I like to see my application as "tobe.jpg" view in the same resolution .

             

             

             

            I have already set the below mentioned information in my application.

             

            >> verticalScrollPolicy = "off" horizontalScrollPolicy="off"

             


            My on your images container or component you have width & height specified.

             

            >> Yes I had specified image height and width becuase it is needed to maintain the design

             

             

             

            Thanks