Hey Abdul 

Thanks for your help :) 

I really appreciate it. 



On 5/31/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
> 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 the Yahoo! Terms of Service.


 
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/
 


Reply via email to