Mega Code Archive
Categories
/
Flex
/
Container
Bind the Selected Index of a ViewStack to a Variable
[Bindable] private var selectedIndexInt:int = 0; private function changeViewStack():void { if(selectedIndexInt == 2) { selectedIndexInt = 0; } else { selectedIndexInt++; } }