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
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
> 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
>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.
4 matches
Mail list logo