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

Extending mx.core.Application causes Flex app to not size properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • mx: Application
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a class that extends mx.core.Application.
      2. Set the constructor to call super().
      3. In your Flex App, use your new class rather than <mx:Application>
      4. Set the size of your application to height="800" width="800" (for example)
      5. Run the application (don't run it in the HTML wrapper – just run the swf)

      I have attached my test files for you.

      Actual Results:
      The application starts and is the wrong size (it's very small). This can be problematic when you set

      systemManager.stage.scaleMode = StageScaleMode.SHOW_ALL;

      Expected Results:
      If you run this same application using <mx:Application> it sizes itself to 800 x 800. Using systemManager.stage.scaleMode = StageScaleMode.SHOW_ALL; works properly.

      Workaround (if any):
      None

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: