RE: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5

2005-12-08 Thread Rajni Choudhary
ilto: flexcoders@yahoogroups.com] On Behalf Of Ben Lucyk Sent: Wednesday, December 07, 2005 2:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5   Thanks for the tip Matt.    Do you have any more details (or a g

Re: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5

2005-12-07 Thread Ben Lucyk
MTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5  Thanks for the tip Matt.    Do you have any more details (or a good reference to point me towards) as to why this is the case though?  There doesn't seem to be any problem ini

RE: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5

2005-12-07 Thread Roger Gonzalez
oders@yahoogroups.comSubject: Re: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5 Thanks for the tip Matt.    Do you have any more details (or a good reference to point me towards) as to why this is the case though?  There doesn't seem to be any problem initi

Re: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5

2005-12-07 Thread Ben Lucyk
Thanks for the tip Matt.    Do you have any more details (or a good reference to point me towards) as to why this is the case though?  There doesn't seem to be any problem initializing an instance variable this way at the "component" level.  Has this behavior changed at all in Flex 2.0 that yo

RE: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5

2005-12-06 Thread Matt Chotin
Instance variable assignment in the declaration is always dangerous because dependencies are generally not tracked for initialization purposes.  Assigning the variable in a function that’s called later (like creationComplete or even initialize) is considered the best-practice.   Matt