[flexcoders] Re: is this how to use commitProperties

2008-02-10 Thread Cato Paus
Hi duds where do you get the code colors from ? --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: my bad, i for some reason sent it to flexComponents instead instead of flexcoders so sorry for double post i am just wondering if this is how it usually gets used /** *

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-10 Thread Sherif Abdou
copy and paste straight from flex onto hear - Original Message From: Cato Paus [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 10, 2008 5:24:52 AM Subject: [flexcoders] Re: is this how to use commitProperties Hi duds where do you get the code colors from

RE: [flexcoders] Re: is this how to use commitProperties

2008-02-08 Thread Gordon Smith
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Thursday, February 07, 2008 10:36 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: is this how to use commitProperties so good? bad? any opinions? - Original Message From: Sherif Abdou

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-08 Thread Sherif Abdou
] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Sherif Abdou Sent: Thursday, February 07, 2008 10:36 AM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] Re: is this how to use commitProperties so good? bad? any opinions? - Original Message From: Sherif Abdou [EMAIL

RE: [flexcoders] Re: is this how to use commitProperties

2008-02-08 Thread Gordon Smith
PROTECTED] On Behalf Of Sherif Abdou Sent: Friday, February 08, 2008 5:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: is this how to use commitProperties ok so invalidate... in setters so i can have five setters and each one ending with invalidate... - Original Message

RE: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Merrill, Jason
PROTECTED] On Behalf Of Sherif Abdou Sent: Thursday, February 07, 2008 1:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: is this how to use commitProperties so good? bad? any opinions

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Sherif Abdou
so good? bad? any opinions? - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 6, 2008 9:53:43 PM Subject: Re: [flexcoders] Re: is this how to use commitProperties if anyone cares to check, is this how your suppose to do

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Sherif Abdou
but wouldnt that take more memory? - Original Message From: Eric Cancil [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 7, 2008 1:50:16 PM Subject: Re: [flexcoders] Re: is this how to use commitProperties It may be more code - But not only is it best practices

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Eric Cancil
@yahoogroups.com *Subject:* Re: [flexcoders] Re: is this how to use commitProperties so good? bad? any opinions? - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 6, 2008 9:53:43 PM Subject: Re: [flexcoders] Re

[flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread ben.clinkinbeard
Looks right to me except you should validate that the new value is actually different than the existing value in your setter before setting the flag and whatnot. HTH, Ben --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: my bad, i for some reason sent it to

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread Sherif Abdou
: is this how to use commitProperties Looks right to me except you should validate that the new value is actually different than the existing value in your setter before setting the flag and whatnot. HTH, Ben --- In [EMAIL PROTECTED] ups.com, Sherif Abdou [EMAIL PROTECTED] .. wrote: my bad, i for some

[flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread rueter007
PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 6, 2008 2:42:41 PM Subject: [flexcoders] Re: is this how to use commitProperties Looks right to me except you should validate that the new value is actually different than the existing value in your setter before setting

[flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread rueter007
; } } - Original Message From: ben.clinkinbeard ben.clinkinbeard@ To: flexcoders@yahoogroups.com Sent: Wednesday, February 6, 2008 2:42:41 PM Subject: [flexcoders] Re: is this how to use commitProperties Looks right to me except you should validate that the new value is actually

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread Sherif Abdou
6, 2008 5:57:18 PM Subject: [flexcoders] Re: is this how to use commitProperties you definitely can. but if there are several properties and each of them call invalidateDisplayLi st(), it could be a slight performance problem as you are redrawing for every change. Instead if you do

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread Sherif Abdou
[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 6, 2008 6:19:31 PM Subject: Re: [flexcoders] Re: is this how to use commitProperties and for measure() it only talks about the component itself so would it be better to set a button(Child of the component) in the measure

[flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread rueter007
PROTECTED] ups.com Sent: Wednesday, February 6, 2008 5:57:18 PM Subject: [flexcoders] Re: is this how to use commitProperties you definitely can. but if there are several properties and each of them call invalidateDisplayLi st(), it could be a slight performance problem as you are redrawing

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread Sherif Abdou
6:40:05 PM Subject: [flexcoders] Re: is this how to use commitProperties updateDisplayList is called in the next render event. So, I would assume updateDisplayList will be called once for each render no matter how many times you call the invalidateDispayLis t in that cycle. Going through

[flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread ecancil
it doesnt matter how many times you call invalidate - it will still only do it once - that's the whole point. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: my bad, i for some reason sent it to flexComponents instead instead of flexcoders so sorry for double post i am

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread Sherif Abdou
: [flexcoders] Re: is this how to use commitProperties it doesnt matter how many times you call invalidate - it will still only do it once - that's the whole point. --- In [EMAIL PROTECTED] ups.com, Sherif Abdou [EMAIL PROTECTED] .. wrote: my bad, i for some reason sent it to flexComponents