No matter what I try I cannot change the "selected" item in the linkbar. Try
this example. How do I change what item is visually "selected".

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
    <mx:LinkBar x="10" y="19" dataProvider="['item 1', 'item 2', 'item 3']"
selectedIndex="0" color="#D41010" disabledColor="#1D7AC1"
disabledOverlayAlpha="1" dropShadowEnabled="true" dropShadowColor="#000000"
errorColor="#AC0909">
    </mx:LinkBar>
</mx:WindowedApplication>


BTW does it seem confusing that the selected color and selected text don't
refer to the item that the user is on or has already clicked?

Reply via email to