[flexcoders] Changing a property inside of commitProperties?

2008-04-04 Thread thirtyfivemph
I'm subclassing FormItem to have the whole form item (its properties and its child controls) driven by a single piece of data I specify in a property I've added to my derived FormItem. In my custom property's setter, I store the custom data and call invalidateProperties. I then do this: override

RE: [flexcoders] Changing a property inside of commitProperties?

2008-04-04 Thread Gordon Smith
: Friday, April 04, 2008 11:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Changing a property inside of commitProperties? I'm subclassing FormItem to have the whole form item (its properties and its child controls) driven by a single piece of data I specify in a property I've added

Re: [flexcoders] Changing a property inside of commitProperties?

2008-04-04 Thread Troy Gilbert
Why not just have the setter for myCustomData simply set 'label' and other properties rather than doing this in commitProperties()? Yeah, I could definitely do that... I was more interested in doing things the right way, at least in line with convention, and my impression of the convention

RE: [flexcoders] Changing a property inside of commitProperties?

2008-04-04 Thread Gordon Smith
Sent: Friday, April 04, 2008 2:44 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Changing a property inside of commitProperties? Why not just have the setter for myCustomData simply set 'label' and other properties rather than doing this in commitProperties()? Yeah, I could