0 Replies Latest reply on Nov 12, 2008 1:58 PM by (Ryan_Frishberg)

    [svn] 4091: FxComponent now throws RTEs when accessing the DisplayObjectContainer mutation APIs (addChild, removeChild, etc...).

    Level 1
      Revision: 4091
      Author: rfrishbe@adobe.com
      Date: 2008-11-12 13:58:46 -0800 (Wed, 12 Nov 2008)

      Log Message:
      -----------
      FxComponent now throws RTEs when accessing the DisplayObjectContainer mutation APIs (addChild, removeChild, etc...). Instead, one should modify the skin object directly, or if you're adding something to an FxContainer, use addItem, removeItem, etc... I had to fix flex4tests in checkintests because it was using addChild() on a panel.

      Fixed some ASDocs for FxScroller.as

      Found a small bug in GraphicElement around setting blendModeChanged back to false in commitProperties (it was accidentally set to true).

      Ran checkintests and mustella tests for: List, FxContainer, FxDataContainer, Button, ToggleButton, CheckBox, RadioButton.

      QE Notes: We should add tests for FxComponent where one tries to call addChild, removeChild, etc... and gets an RTE.
      Doc Notes: None
      Bugs: SDK-17655
      Reviewer: Jason, Deepa

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17655

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxContainerBase.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
      flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml
      flex/sdk/trunk/frameworks/tests/flex4/flex4test_testScript.mxml