Try processedDescriptors=true on the children of the viewstack

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ltkavanagh
Sent: Thursday, April 24, 2008 2:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to check if components have been created yet
when creation policy is auto

 

Hi,

I am trying to checking if children of a viewstack have been created 
when the viewstack's creation policy is set to auto (as per default). 
I am getting a null pointer reference when trying to access a value on 
a component nested in a viewstasck.

I would assume i need to check if the children have been made first 
and if not call myViewStack.createComponentsFromDescriptors(true);

Does anyone know the way to check this?

Many Thanks

Luke

 

Reply via email to