0 Replies Latest reply on May 19, 2009 5:16 AM by Darrell Loverin

    [svn:fx-trunk] 7062: Spark WindowedApplication fixes.

    Darrell Loverin Level 4

      Revision: 7062

      Author:   dloverin@adobe.com

      Date:     2009-05-19 04:16:05 -0700 (Tue, 19 May 2009)

       

      Log Message:

      ***********

      Spark WindowedApplication fixes.

       

       

      https://bugs.adobe.com/jira/browse/SDK-21186

       

      Fix returning a bogus state.

       

      spark.components.Window

      spark.components.WindowedApplication

                      Return ?\226?\128?\156disabled?\226?\128?\157 instead of ?\226?\128?\156disableActive?\226?\128?\157. ?\226?\128?\156disabledActive?\226?\128?\157 was renamed to ?\226?\128?\156disabled?\226?\128?\157 but the code didn?\226?\128?\153t get updated.

       

      http://bugs.adobe.com/jira/browse/SDK-21039

       

      Fix returning an out of range value from the ?\226?\128?\156type?\226?\128?\157 and ?\226?\128?\156systemChrome?\226?\128?\157 properties.

       

      mx.core.WindowedApplication

      spark.components.WindowedApplication

       

                      get type()

                                      The initial Window is always normal so don?\226?\128?\153t bother with getting the nativeWindow.

       

                      get systemChrome()

                                      Fix returning an out of range value.  Set the value as soon as possible and stick with it.

       

                      override initialize() to set _systemChrome as early as possible.

                      Initialize _nativateWindow in initialize() instead of in the createComplete handler. This seems better but doesn?\226?\128?\153t fix a bug.

       

      QE Notes: None.

      Doc Notes: None.

      Bugs: SDK-21186, SDK-21039

      Reviewer: Darrell

      tests: checkintests

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-21186

          http://bugs.adobe.com/jira/browse/SDK-21039

          http://bugs.adobe.com/jira/browse/SDK-21186

          http://bugs.adobe.com/jira/browse/SDK-21039

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as