[flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Dave Glasser
I have a custom component and the first time updateDisplayList() is called, it is called before commitProperties() has been called for the first time. It still happens even after I put: invalidateProperties(); in the constructor. The stacktrace looks like this:     at

Re: [flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Alex Harui
If you are adding the component in the updateDisplayList of a parent, I think that can happen. The List classes call validateClient on components added in updateDisplayList in order to get them through their other phases. On 9/26/12 12:35 PM, Dave Glasser dglas...@pobox.com wrote: I

Re: [flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Dave Glasser
That's what it was. Many thanks! From: Alex Harui aha...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Wednesday, September 26, 2012 3:53 PM Subject: Re: [flexcoders] updateDisplayList() called before commitProperties() Re: