The ViewStack component in the Flex framework operates by setting the visibility on one of its children — the child with index specified by ViewStack.selectedIndex — to true, and the visibility of all the other children to false. It is not difficult to imagine a scenario where ViewStack.selectedIndex is bound to a variable that sometimes [...]