[flexcoders] Adding a close button to a TabBar

2009-06-19 Thread fumeng5
Hi --

I'm trying to add a close button to a tab in a TabNavigator component. I 
searched the archives and found a post that is nearly 4 years old and was 
hoping there was something newer. 

My Tab is a VBox and I set its icon property to an image. But that image 
appears to the left; how can I align it to the right? Then, how can I assign it 
a click event? 

Any guidance is very much appreciated. 

Thank you



Re: [flexcoders] Adding a close button to a TabBar

2009-06-19 Thread Tom McNeer
Take a look at Doug McCune's SuperTabNavigator. It can have a close box and
lots of other stuff.

Here's a blog 
entryhttp://dougmccune.com/blog/2007/02/07/quest-for-the-perfect-tabnavigator-part-3-with-source/about
it.

And here's the link to the entire flexlib
http://flexlib.googlecode.com/(which includes the SuperTabNavigator)
on Google Code.

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560