What qualifies as a 'view' in flex. Are 'views' 开发者_如何学运维containers like panels? Or are they flex components? Examples would be great. Thanks.
Views are just child containers of a parent container which the parent shows one at a time. As in the ViewStack control (to quote Adobe's docs):
"A ViewStack navigator container consists of a collection of child containers stacked on top of each other, where only one child at a time is visible. When a different child container is selected, it seems to replace the old one because it appears in the same location. However, the old child container still exists; it is just invisible."
You navigate the stack of views by changing the selectedIndex property of the ViewStack. There are other kinds of controls that handle views, but this will get you started.
精彩评论