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

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -