0 Replies Latest reply on Oct 6, 2009 2:54 PM by rfrishbe

    [svn:fx-trunk] 10898: Fix for a bug: After playing a hide effect, a window wouldn't be visible again.

    rfrishbe Level 3

      Revision: 10898

      Author:   rfrishbe@adobe.com

      Date:     2009-10-06 13:54:04 -0700 (Tue, 06 Oct 2009)

       

      Log Message:

      ***********

      Fix for a bug: After playing a hide effect, a window wouldn't be visible again.

       

      The issue here is that all effects that occur because of HIDE end up calling setVisible() (see EffectManager.effectEndHandler).  Window/WindowedApplication was basically left with two concepts of setVisible...the displayObject one and the native application one, and they were out of synch.  So setting visible=true on the window wasn?\226?\128?\153t calling setVisible(true) which controls the display object visibility.  Now instead of doing our work in the visible setter, we override setVisible() and do it in there.

       

      QE notes: -

      Doc notes: -

      Bugs: SDK-23263

      Reviewer: Darrell

      Tests run: checkintests, Rob ran mustella window/windowedapplication

      Is noteworthy for integration: No

       

      Ticket Links:

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

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

       

      Modified Paths:

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

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

          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