in Flex, how to add child as first child? -
I'm adding a child:
containerComponent.addChild (newComponent);
But, it adds the form of the last child, how can I add new compans as a child before the Container Companent?
Use addChildAt instead of addChild with index parameter set 0:
Container Component.Adchilate (new editor, 0);
Comments
Post a Comment