Thanks again Manish, that trick do the job !
Romain --- In [email protected], Manish Jethani <[EMAIL PROTECTED]> wrote: > On Apr 5, 2005 12:35 PM, r0main <[EMAIL PROTECTED]> wrote: > > > > While both binding & direct way of changing value do update icon's > > property, there is no visual impact of the update onscreen... Any idea > > on what to trigger to force icon's visual-refresh ??? > > Seems like the tabs are updated only once when the TabBar is created. > You could do one of the following: > > 1. Reset the Tab object's icon property manually. > 2. Reset the TabBar's dataProvider to itself (will cause the Tab > objects to get recreated). > > You can grap the TabBar inside the TabNavigator using the private > tabBar property (some ActionScript cheating). > > tabNavigator['tabBar'].getChildAt(0).icon = newIcon; > > Manish 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/

