I have a LinkBar with a dataProvider that is linked to a viewStack.
In the viewStack are several VBox components which populate the
LinkBar. Is there a way to give a component event handler
capabilities to change multiple viewStacks?
I can do this with a regular link tag (like below), but would like to
know how to do this with a linkbar.
**************
linkbar
**************
<mx:Link label="Link1" click="vsMain.selectedIndex=0;
vsSubMain.selectedIndex=1;"/>
*****************************
Example
*****************************
<mx:Panel title="navigation" height="100%" width="100%"
themeColor="#339933" panelBorderStyle="roundCorners">
<mx:LinkBar dataProvider="vsMain" direction="vertical">
</mx:LinkBar>
</mx:Panel>
<mx:ViewStack id="vsMain">
<comp:view1 id="v1" />
<comp:view2 id="v2"/>
</mx:ViewStack>
--
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/