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

The scaleY property should be compared to 1 and not 0 in SplashScreen.as

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Mobile: SplashScreen
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Look at line 451 in SplashScreen.as
      2.
      3.

      Actual Results:
      Code is if (scaleX != 1 || scaleY != 0). I believe this is a typo and scaleY should be compared to 1 and not 0. Because of that, some unnessary code is executed.

      Expected Results:
      if (scaleX != 1 || scaleY != 1)

      Workaround (if any):
      -

      I found this bug when overriding the default SplashScreen so that it could manage multiple SplashScreen for different sizes / orientation, especially for iOS. I was able to do that overriding the getImageClass function. It would be nice to make the Stage_resizeHandler method protected so that it could be overriden as well. Should i file a feature request for that separately?

      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: