On 5/7/07, arieljake <[EMAIL PROTECTED]> wrote: > I want to add this code in the itemClicks: > <other-link-bar-id>.selectedIndex = -1; Unfortunately this throws this > error: > > TypeError: Error #1034: Type Coercion failed: cannot convert > mx.skins.halo::[EMAIL PROTECTED] to mx.controls.Button.
The selectedIndex can't be -1 for a LinkBar connected to a view stack. -1 is the default value *only* if there's no view stack (the link bar is uninitialised).

