I think this is what you are looking for:
<mx:LinkBar dataProvider="myViewStack" />
On 2/24/06, rgwilson26 <[EMAIL PROTECTED]> wrote:
> I would like to know if there is a way to allow a link that has been
> clicked to stay highlighted with relation to what viewstack item is
> displayed? I have all forms under one viewstack (on the right), with
> multiple navigation menus/linkbars (in another viewstack on the
> left...vertical alignment). At the moment I am using vs.selectedChild
> for each link to specify which viewStack component to navigate to, but
> links will not stay highlighted with regards to their given component.
> Is there a propery that will allow this? Also, is there a way to pass
> an ID instead of the string for a reference in a click event as shown
> below?
>
> Thanks,
>
> "event.id" does not work...I want to pass the id of the string and not
> the label.
> ********************************************************************
>
> <mx:LinkBar click="{'vs.selectedChild=' + String(event.id)}"
> direction="vertical">
> <mx:dataProvider>
> <mx:Array>
> <mx:String id="link1">Link 1</mx:String>
> <mx:String id="link2">Link 2</mx:String>
> </mx:Array>
> </mx:dataProvider>
> </mx:LinkBar>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>
--
Daniel Cascais
Tel: +56 (0)2 4589495
Cel: +56 (0)9 9417355
--
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/
<*> 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/