can you post your code so we can help On 2/12/07, boy_trike <[EMAIL PROTECTED]> wrote:
I have a button in a component in a viewstack that switches view to another component in the viewstack with the code "parentApplication.myViewStack.selectedIndex = 0". While this works ok, I have 2 problems. 1). The new viewstack does not grey out the option in the linkbar so there is no indication that I am on a different page 2). Clicking on option #0 in the linkbar menu raises the following error: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt() at mx.controls::LinkBar/mx.controls:LinkBar::hiliteSelectedNavItem() at mx.controls::LinkBar/mx.controls:LinkBar::clickHandler() Bruce
-- http://indeegrumpee.spaces.live.com/

