Sanity Check needed :)

I have a scenario where I need to destroy and recreate all child objects of
a view stack.

I'm first using the viewStack.destroyAllChildren() (or
viewStack.destroyChildAt(index)) which destroy the child objects as
expected, but when I attempt to re-create using the viewStack.createChild()
I run into some unexpected results.  It appears from debugging, etc. that
the new child objects appear ok structurally but the layout and some of the
initialization has not been completed. The creation policy of the view stack
and child objects are not explicitly stated so the default is being used. 

So am I doing this correctly? Is there another / better way to
destroy/recreate child objects dynamically?

Thanks for any info.

Regards,
Rob



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to