RE: [flexcoders] using addChild() or includeInLayout ?

2009-06-09 Thread Gordon Smith
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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 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/>



[flexcoders] using addChild() or includeInLayout ?

2009-06-09 Thread arpan srivastava
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


  Cricket on your mind? Visit the ultimate cricket website. Enter 
http://beta.cricket.yahoo.com