Either get the child (VBox) back from the canvas using getChildAt and call addChild on it, or add children to it before you add it to the canvas.
--- In flexcoders@yahoogroups.com, Laurence MacNeill <lmacne...@...> wrote: > > Let's say I want to add, in actionScript, a VBox to my Canvas. > > var tempVBox = new VBox(); > tempVBox.id = "myVBox" > this.addChildAt(tempVBox, 0); > > Ok, fine. That's all well and good. Now, how do I add children to > the VBox I just created? > > Thanks, > > Laurence MacNeill > Mableton, Georgia, USA >