[flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread markgoldin_2000
Actually this fixed the problem: boxingareas.validateSize() after a tab has been added. --- In flexcoders@yahoogroups.com, Sam Lai wrote: > > Looks ok - I assume lineid in the XML doc progresses sequentially. > > Maybe try manually using AS3 to add 6 tabs to the tabnavigator using > similar code

Re: [flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread Sam Lai
Looks ok - I assume lineid in the XML doc progresses sequentially. Maybe try manually using AS3 to add 6 tabs to the tabnavigator using similar code and see if it still happens, just to rule out the XML doc? 2009/4/2 markgoldin_2000 : > From the inside of a new Tab: > TabNavigatorObj.addChildAt(t

[flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread bhaq1972
> TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1); Just a guessI think your problem is "TabNavigatorObj.getChildren().length" Its not what you think it is (do a trace on it). instead, try using TabNavigatorObj.addChild(this); --- In flexcoders@yahoogroups.com, "m

[flexcoders] Re: Adding tabs dynamically

2009-04-01 Thread markgoldin_2000
>From the inside of a new Tab: TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1); --- In flexcoders@yahoogroups.com, Sam Lai wrote: > > How are you adding the tabs to the tabnavigator? > > 2009/4/2 markgoldin_2000 : > > I am having a problem adding tabs to tabnavigator.