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

<*> 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/
 


Reply via email to