You should get faster startup if you wait until you need them and create them 
dynamically. But I think the states feature is probably the best way to 
accomplish this.

Gordon Smith
Adobe Flex SDK Team

From: [email protected] [mailto:[email protected]] On Behalf 
Of arpan srivastava
Sent: Tuesday, June 09, 2009 6:57 PM
To: Flex Coders
Subject: [flexcoders] using addChild() or includeInLayout ?




Hi All,

          Is it better to create controls dynamically using addChild() or write 
the mxml for all the controls and use includeInLayout and visible property to 
show / hide the controls?

Thanks
Arpan


________________________________
Explore and discover exciting holidays and getaways with Yahoo! India Travel 
Click here!<http://in.rd.yahoo.com/tagline_Travel_1/*http:/in.travel.yahoo.com/>

Reply via email to