The old Flex project used a ViewStack (and Spark Navigator) for the Body
Views. I have changed this to use visible = false in the mxml and then
switch visible on and off whenever the user wants to change the View.

The call stack is creating the items in the order of the mxml in Main - so
it goes Application... - View... - Container... - Container... - View1... -
View2 - Add View2 as Child and then stops on the actionScript line in this
support class.

But I'm wondering how the javascript interpreter in the browser knows which
was mxml code and which was actionScript. So isn't it quite reasonable that
an actionScript line might get looked at before initComplete is called?

So the question really is how does one get the mxml code to build and then
call initComplete before any of the actionscript is inspected?

Doug





--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to