Oops, forgot sizzack.validateNow(); as the last line.
 
----- Original Message -----
From: JesterXL
Sent: Tuesday, July 11, 2006 3:32 PM
Subject: Re: [flexcoders] Null Object references in a ViewStack

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 -----
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





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to