RE: [flexcoders] ChangeWatcher question
Shaun, I had not considered it but it certainly looks a far better approach than what I was trying. I guess there are too many options to consider for a newbie flex user (and not enough time to study them all). Thanks, your help is appreciated! Peter _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shaun etherton Sent: Friday, March 23, 2007 2:40 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ChangeWatcher question Peter wrote: Perhaps if I am a bit less verbose. 1. is having a few thousand watch listeners active on a few hundred object realistic? Have you considered using the PropertyChangeEvent? regards, shaun
RE: [flexcoders] ChangeWatcher question
Perhaps if I am a bit less verbose. 1. is having a few thousand watch listeners active on a few hundred object realistic? 2. Is there any way to figure out whether there is a watchlistener active on a given property of a given object? Thanks, Peter _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pgp.coppens Sent: Tuesday, March 20, 2007 11:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ChangeWatcher question Flex community, Would someone be willing to help out with the following two questions I have. 1. I need to keep track of a number of properties (about 20 per object) of a large number of objects (hundreds to thousand range). I can either use an army of ChangeWatcher instances or add some code to the set method for each of these properties. I like the idea of using independent changewatchers but I am not sure what the performance/memory penalty is going to be. Has anyone some guidance? 2. Is it possible to figure out, given an object instance and a property name, whether a ChangeWatcher is active? If so, how would that work? Or do I have to keep track of all ChangeWatcher.watch instances that get created. Thanks! Peter
Re: [flexcoders] ChangeWatcher question
Peter wrote: Perhaps if I am a bit less verbose. 1.is having a few thousand watch listeners active on a few hundred object realistic? Have you considered using the PropertyChangeEvent? regards, shaun
[flexcoders] ChangeWatcher question
Flex community, Would someone be willing to help out with the following two questions I have. 1. I need to keep track of a number of properties (about 20 per object) of a large number of objects (hundreds to thousand range). I can either use an army of ChangeWatcher instances or add some code to the set method for each of these properties. I like the idea of using independent changewatchers but I am not sure what the performance/memory penalty is going to be. Has anyone some guidance? 2. Is it possible to figure out, given an object instance and a property name, whether a ChangeWatcher is active? If so, how would that work? Or do I have to keep track of all ChangeWatcher.watch instances that get created. Thanks! Peter