I want to force any UI Container to preload its children. I explain
myself. For instance I have an accordion which contains 2 tabs.
The first one is automatically loaded. But I can't acess to the second's
children as long as the user has not clicked on it to display it!

<mx:Accordion>
  <mx:VBox label="1"><mx:Button id="b1" label="box1" /></mx:VBox>
  <mx:VBox label="2"><mx:Button id="b2" label="box2" /></mx:VBox>
</mx:Accordion>

here I won't be able to execute this :
b2.label = "hop changed";
as b2 will be null.

Any idea ?
I tried all the validateProperties/validateSize/validateNow... but  it
won't do anything...

Thank you

Mathieu LEMAIRE

Reply via email to