This kind of works; you'll have to play with the positioning of the LinkBar 
in the canvas; rotation doesn't play well with Flex layoutmanager, hence it 
not being a supported property.  Also, ensure Verdana.ttf is in your 
project's folder.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
 xmlns:mx="http://www.macromedia.com/2003/mxml";
 initialize="initApp()"
 backgroundColor="#FFFFFF"
 themeColor="haloBlue">

 <mx:Style>
@font-face{
 src: url("verdana.ttf");
 fontFamily: Verdana;
}
</mx:Style>


 <mx:Script>
 <![CDATA[


 function initApp()
 {
  link_nav._rotation = -90;
  invalidate();
 }

 ]]>
 </mx:Script>

 <mx:Canvas width="100%" height="100%" />

 <mx:LinkBar id="link_nav" dataProvider="boxes_vs" fontFamily="Verdana"
  x="0" y="0"/>

 <mx:ViewStack id="boxes_vs" x="30" y="0">

  <mx:Box label="Uno" />

  <mx:Box label="Dos" />

  <mx:Box label="Mutha-grabbin Tres" />

 </mx:ViewStack>

</mx:Application>


----- Original Message ----- 
From: "rgwilson26" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 16, 2005 11:18 AM
Subject: [flexcoders] Vertical link bar


I would like to create a vertical link bar that is tied to a
viewstack. The functionality I am looking for is when the user clicks
on it the selected link is highlighted with relation to a particular
view.

Is there a way to make a Link bar direction vertical, and what would
be the best way to make a vertical navigation that is tied to a
viewstack to get the highlighting affect?

I have tried a simple link and tied it to the viewstack like the
example below, but it will not highlight the link for the user to
tell which selection has been made.

***************************************************
<mx:Link id="searchButton" label="Search Screen"
    click="myViewStack.selectedChild=search;"/>
***************************************************

Any suggestions would be appreciated.

Thanks,












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







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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