0 Replies Latest reply on Oct 18, 2009 1:57 AM by K-kOo

    Framework technical question: addChild on non Container

    K-kOo

      Hello all,

       

      I am trying really hard to understand the underlying lifecycle of a component creation and sometimes I really get confused. Like now

      I don't understand what doesn't make addChild to actually add a child and display it on non Container component.

      e.g . MyNumericStepper.addChild(new Button()) won't display any button somewhere in the stepper(off course !) but i can't see why in the code; because it's going anyway all the way to UIComponent.$addChild(child:DisplayObject):DisplayObject

       

      Could somebody tell me what's happening ?

       

      Thanks !