Is there an easy way to deselect all items from a link bar once one as
been selected. I do not have it connected to a viewstack but instead a
set of submenus and there are valid instances when no submenu should
be selected. Also, there could be a different type of control that I
need to use. If so, let me know.
If I reset the control after I've already set the selectedIndex of the
control I get:
TypeError: Error #1034: Type Coercion failed: cannot convert
mx.skins.halo::[EMAIL PROTECTED] to mx.controls.Button.
at mx.controls::LinkBar/mx.controls:LinkBar::hiliteSelectedNavItem()
at mx.controls::LinkBar/mx.controls:LinkBar::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
Rich