Thanks Nigel--I guess in your example, it would work for using
selectedIndex, which you can actually use inline as a property of the
Viewstack. But I was hoping to use selectedChild (in case the order of
the children changed), and I was reading the API docs, and it said that
selectedChild could not be inline, it had to instead be called by an
ActionScript block. Here's where I was reading about this:
http://livedocs.adobe.com/flex/3/html/help.html?content=navigators_3.htmlIn
my initialize functi...