[flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Barry Beattie
I've finally upgraded from Beta3 to current version, and of course some things broke. I've traced the latest problem back to a LiveDocs example** I based my code from which generates the error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Brendan Meutzner
Check for if(data == null) before doing anything inside the implicit set for data...On 7/30/06, Barry Beattie [EMAIL PROTECTED] wrote: I've finally upgraded from Beta3 to current version, and of course some things broke. I've traced the latest problem back to

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Brendan Meutzner
sorry... if(value == null)On 7/30/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Check for if(data == null) before doing anything inside the implicit set for data...On 7/30/06, Barry Beattie [EMAIL PROTECTED] wrote: I've finally upgraded from Beta3 to current

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Barry Beattie
Brendan Meutzner Sun, 30 Jul 2006 21:14:58 -0700 sorry... if(value == null) cheers Brendan. That did indeed fix it. Thankyou. but I do have to ask why, since the existing code (without the corrections mentioned on that example) worked fine with B3... (I just need a better understanding of what

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Brendan Meutzner
I don't have a solid answer, but I'd guess that the setter is getting called during initialization process before the object exists in the dataProvider... try running in debug mode and look through the stack trace when the error is caught... might provide some answers... On 7/30/06, Barry