|
If creationPolicy of the ViewStack is "all", it'll
be created.
If none, create it yourself:
if ( stizzNack.getChildAt ( 2 ) ) ==
null
stizzNack.createComponent (
stizzNack.childDescriptors[2], false );
Booya!
----- Original Message -----
From: Joe Stramel
Sent: Tuesday, July 11, 2006 3:19 PM
Subject: [flexcoders] Null Object references in a
ViewStack I have a viewStack with three containers. I
need to reference a public property in the third container (which is a
custom component) before it actually appears on the screen. How do I go
about forcing the app to create the container so I can reference it? Seems
easy, I just keep tripping over myself! Thanks
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Null Object references in a ViewStack Joe Stramel
- Re: [flexcoders] Null Object references in a ViewStack JesterXL

