0 Replies Latest reply on Oct 27, 2009 12:33 PM by CoreyRLucier

    [svn:fx-trunk] 11189: Adding better support for deferred instantiation and states.

    CoreyRLucier Adobe Employee

      Revision: 11189

      Author:   clucier@adobe.com

      Date:     2009-10-27 12:33:04 -0700 (Tue, 27 Oct 2009)

       

      Log Message:

      ***********

      Adding better support for deferred instantiation and states. State overrides can now correctly override targets that are instantiated after a state change.  Moving the commitment of the initial state to earlier (during commit properties), this should avoid the secondary layout pass that used to occur after applicationComplete.  Removed creationComplete handler in UIComponent as it is no longer needed.  Fixing an issue in Group that was causing blendMode to be stuck as 'layered' when setting alpha to 0 then resetting it to a non zero value.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-23105, SDK-23470, SDK-23790

      Reviewer: Deepa, Glenn

      Tests run: Full Cyclone, Checkin

      Is noteworthy for integration: No

       

      Ticket Links:

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddChild.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/RemoveChild.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetEventHandler.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetProperty.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as