  | |  | TabBar.selectedItem | TabBar.selectedItem 2004-03-08 - By Greg Burch
Back Try:
TabBar.selectedIndex = null
-Greg
-- --Original Message-- -- From: Doug Coning [mailto:DougC@(protected)] Sent: Monday, March 08, 2004 11:39 AM To: flashcoders@(protected) Subject: [Flashcoders] TabBar.selectedItem
Greetings Everyone,
I'm using the V2 TabBar to create a scrollable Tab solution. So, on the stage I've set up my TabBar to only show 6 tabs at a time, even if more tab items exists. I added arrows to the beginning and end of the TabBar so that when you click on an arrow, it increments or decrements the TabBar. It works great.
I've even set it up to change the selected tab when an increment/decrement happens. So if tab 2 is selected, then you click the arrow to go to the right, tab 1 now becomes selected. This too works as desired.
However, if you keep scrolling to the right, and the selected tab is removed from the screen, I want NO tabs to be selected. However, the TabBar component seemingly won't allow me to do this. If I don't specify a TabBar.selectedItem, it defaults it to the beginning tab. I've even tried TabBar.selectedItem = undfined or TabBar.selectedItem = null, but it still selects the first item.
Is there a way to tell the TabBar component to not select any of the tabs?
Thanks!!!!
Doug Coning Software Developer FORUM Solutions, LLC
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106343 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106369 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |