I guess the problem is that I am not using the viewStack as the dataProvider. I am just using an arrayCollection. Ideally I would like to leave it this way and not actually have to connect my linkBar to my viewStack. What I want is to press a button which calls a function and changes the underlying state, which may then change the selected item by changing the selectedIndex.
Is this possible? Hank On 11/1/06, Michael Labriola <[EMAIL PROTECTED]> wrote: > > Hank, > > If you are setting the dataProvider of the linkBar to the viewStack, > the LinkBar will indicate the selectedChild of the viewStack as a > disabled button on the bar. > > The linkbar responds to the viewStack. When you say you are setting > the selectedIndex to 0, do you mean you are setting it on the > viewStack and the linkbar is not responding? > > As far as the styles, the linkbar has a fair amount of style > customization all defined in the LinkBar help docs. > > Mike > > --- In [email protected], "hank williams" <[EMAIL PROTECTED]> wrote: > > > > a linkbar is a recommended way to control a viewstack. But I want to > > be able to show the user the currently selected view. I am not clear > > whether the linkbar is supposed to allow this. When I try to initially > > set the selectedIndex to 0 I get an error indicating that it is out of > > range. > > > > I know I could use a tabBar, but I like the simple blocks of text > > without the "tabby" look and feel. > > > > So I guess my question is, is it possible to use the linkbar where one > > item is, for example, a different color than the others, indicating > > that that is the currently selected item? > > > > Hank > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

