Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27354

CLONE -[customer] A Flex application that sets stage.scaleMode=StageScaleMode.Show_ALL doesn't resize correctly in Browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Application
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 6.x
      Language Found: English

    Description

      I cloned this bug because although the below comment resolution was provided for mx:Application, the spark Application is suffering from a similar problem, but the changing the wrapper width and height to 100% while specifying a width and height for the Application does not resize correctly in IE 6. This is also using StageScaleMode.SHOW_ALL or EXACT_FIT.

      Reproduction:
      1. Run the attached sample code.
      2. Resize the height of the browser window (tested in IE 6 & Firefox 1.5.06)
      3. Resize the widthof the browser window in IE or Firefox

      Actual Results:

      • When the height of the browser is changed, the red canvas resizes somewhat as expected (but sometimes too small)
      • When the width of the browser is changed, the red canvas is often cropped

      Expected Results:
      stage.scaleMode=StageScaleMode.Show_ALL should work as documented
      "the entire Flash application be visible in the specified area without distortion while maintaining the original aspect ratio of the
      application." http://livedocs.macromedia.com/flex/201/langref/flash/display/StageScaleMode.html

      StageScaleMode.Exact_Fit also doesn't work as documented.

      Workaround: Somewhat of a workaround is using CSS and changing the font size based on the size of the browser window.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: