Well, all Flex developers use containers very early in their work, and referencing / setting properties on hidden components is a basic task common to most all environments.  However, manual control of instantiation, and even binding, in order to optimize the performance of an application is fairly advanced stuff.

 

If all they want to do is learn how to work with components in their first test application, creationPolicy=”all” can get a newbie coding again.  You can hear the frustration folks are experiencing when they post this question.  Saying “No, Flex is not broken, and you are not stupid, try this, and your code will work”, is sometimes ok.

 

Recreational use of creationPolicy=”all” should not be illegal.  It is just a matter of education.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Adam Dorritie
Sent: Tuesday, October 31, 2006 8:37 AM
To: [email protected]
Subject: Re: [flexcoders] JUST SAY NO to creationPolicy="all" !

 

On 10/30/06, Gordon Smith <[EMAIL PROTECTED]com> wrote:
> <rant>
> I've never seen a case where it is necessary to push data into the controls before they exist. If you must put the data somewhere in the meantime, store it in data vars, which have none of the startup cost of a visual component, and then move it into the controls after they get created.
>
> </rant>

I guess I'm wondering why, if there is apparently no use case for this
"feature" and deferrred instantiation is "the way to go," it is
included in the language at all. Is there never a case to use this
option?

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to