Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-22-2006, 05:34 PM   #1
Assertnfailure's Avatar
Join Date: Dec 2005
Location: LA, California
Posts: 837
Default depressing all tabs in a tabBar component

Hey....Here's a question:

I have a tabBar for a viewstack, and since I don't specify a selectedIndex in the beginning, all the tabs start out depressed. When I run a trace on the selectedIndex of the tabBar, it returns -1. If I click on a tab, of course the selectedIndex changes to some value from 0 to n-1 based on the tab, but when I try to set the selectedIndex back to -1, it still leaves the last tab depressed.

How do I depress all the tabs?
Assertnfailure is offline   Reply With Quote
Old 11-23-2006, 11:12 AM   #2
Tink's Avatar
Join Date: Nov 2001
Location: London
Posts: 2,128

have u tried null?

or maybe try setting toggleOnClick to true before u set the index to -1
Tink is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
removeMovieClip() not work for components? djandrew Components 30 08-03-2007 04:51 PM
Scrollpane component inside a window component marcusg Components 2 04-07-2005 04:20 AM
dynamic component (radiobutton) with setChangeHandler problem tROCK Components 6 08-25-2004 04:49 PM
help needed referencing a component instance inside my own custom component bleepbloop Components 4 08-06-2004 10:31 PM
component problem not solved yet... xxlm ActionScript 1.0 (and below) 0 12-13-2002 05:53 PM

All times are GMT. The time now is 11:39 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.