Hi,yours ViewStack is data provider for which component? Also,have you tried ViewStack.selectedIndex?
It is dataprovider for LinkBar comp., but it doesn't matter because i listen to the ViewStack itself, and the SelectedIndex is not satisfiable because it respondes to the current NavigatorContent container, not to its content.
Try getElementAt(0) instead of getChildAt(0)
works to me!
Thank you very much.