Hi, You can do that with Binding. See the following code:
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Script> var label1:String = "Label1"; var label2:String = "Label2"; </mx:Script> <mx:TabNavigator width="100%"> <mx:HBox label="{label1}"/> <mx:HBox label="{label2}"/> </mx:TabNavigator> <mx:Button label="changeLabel" click="label1 = 'new tab'"/> </mx:Application> -abdul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of flex_script Sent: Wednesday, June 01, 2005 7:59 AM To: [email protected] Subject: [flexcoders] Navigation Hi Is there any way I can add dynamic data to the label in the tabNavigator Container ? So that I can generate the Tab name on run time ? eg <mx:TabNavigator id="tabNavigation"> <mx:Canvas id="t1" label="DYNAMIC DATA HERE "> Thanks for your Help Fx. Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

