I am getting a null error throw from a RemoveChild tag of one of my
states that exists as a child of a ViewStack.  What I am trying to do
is to bind a ViewStack child's currentState (in MXML) to a variable in
the parent ViewStack component.  However, unless I set the ViewStack
creationPolicy to "all" the removeChild() method throws an error
because it tries to remove the child prior to first creating all the
children in the base state.

Is this expected behavior and is there any other way to get this to
work WITHOUT having to set the ViewStack creation policy to 'all'.

Thanks, Kevin

Reply via email to