0 Replies Latest reply on Oct 28, 2008 4:37 PM by (Ryan_Frishberg)

    [svn] 3937: FxContainer fix to make sure partRemoved/ partAdded are never called with a null instance.

    Level 1
      Revision: 3937
      Author: rfrishbe@adobe.com
      Date: 2008-10-28 17:37:25 -0700 (Tue, 28 Oct 2008)

      Log Message:
      -----------
      FxContainer fix to make sure partRemoved/partAdded are never called with a null instance. In this case, in clearSkinParts(), we would call partRemoved() on all parts, whether they were there or not. This was causing a Thermo bug.

      ASDoc fixes for Group, FxContainer, and FxDataContainer. Removing content property from ASDocs...this is not the recommended way to add items/remove items to Group/FxContainer. You should use the addItem/removeItem APIs. This is consistent with Flash Player and Halo. Under the hood someone can still set the content array, but it's discouraged because you could set two Groups to the same content array, which is hard to detect. Also, made currentContentGroup in FxContainer mx_internal...this is an implementation detail for us and something we may change later on. I also added some other ASDoc cleanups and fixes.

      QE Notes: Ran checkintests and Mustella tests for gumbo/core/ and gumbo/components/FxDataContainer. Joann is updatating the one test that failed. WHen verifying SDK-17750, please also verify Thermo bug SDK-17800.
      Doc Notes: This change includes ASDoc changes
      Bugs: SDK-17750, SDK-17741, SDK-17756
      Reviewer: Glenn

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17750
      http://bugs.adobe.com/jira/browse/SDK-17800
      http://bugs.adobe.com/jira/browse/SDK-17750
      http://bugs.adobe.com/jira/browse/SDK-17741
      http://bugs.adobe.com/jira/browse/SDK-17756

      Modified Paths:
      --------------
      flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxContainer.as
      flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxDataContainer .as
      flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/Group.as
      flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/baseClasses/FxC omponent.as