I like Tracy (assuming Tracy is a she) she is so helpful. I learned a
lot from Tracy. So to honor Tracy, I give my time to help too.
<mx:Script>
<![CDATA[
import mx.controls.LinkButton;
[Bindable]
public var menu:Array = new Array("one","two");
public function showEvt(evt:ItemClickEvent):void
{
evt.currentTarget.enabled = false;
evt.currentTarget.enabled = true;
LinkButton(evt.relatedObject).enabled = false;
}
]]>
</mx:Script>
<mx:LinkBar dataProvider="{menu}"
itemClick="showEvt(event)"
/>
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I don't use LinkBar because it is too limiting.
>
> If I need the links dataDriven, I use LinkButtons in a Repeater,
> otherwise I just use LinkButtons declared individually. LinkButtons
> call a nav function, which changes the styleName of the previously
> selected LinkButton(ref stored in instance variable) to a "normal"
> style, and the currently clicked LinkButton to a "selected" style.
>
> Tracy