Maybe you can use the ObjectProxy instead of Object. ObjectProxy
implements a dispatcher mechanism and could be a good candidate for
binding as it dispatches a PROPERTY_CHANGE event when a new property is
added to the object.

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Tracy Spratt
Sent: Thursday, June 04, 2009 1:12 AM
To: [email protected]
Subject: [flexcoders] Use ChangeWatcher with dynamic Object?





I want to have a dynamic Object to which I can add properties at will,
making an associative array or hashtable, and Object works fine for
this.

However, I also want to be able to set up changeWatchers for certain
properties, but my watchers are never getting fired.  I know Object is
not bindable, but should an explicit ChangeWatcher fire when a dynamic
property is  added or changed?

Tracy Spratt,

Lariat Services, development services available


Reply via email to