package com.imt.intimamedia.helpers { import mx.controls.Button; import mx.controls.LinkBar; public class UnselectedLinkBar extends LinkBar { public function UnselectedLinkBar () { super(); } override protected function hiliteSelectedNavItem( index : int ) : void { var object : Object = super; var child : Button; if( selectedIndex != -1 && selectedIndex < numChildren ) { child = Button( getChildAt( selectedIndex ) ); child.enabled = true; } object.selectedIndex = index; } } }