Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
TabBar.selectedItem

TabBar.selectedItem

2004-03-08       - By Greg Burch

 Back
Reply:     1     2  

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.