I have an Object in actionscript which has a few dozens of properties each of which is defined to be bindable and has its own change event. I would like to listen to any changes made to this object without having to add a listener to all of its properties. Is there a way in actionscript using which I can listen to any change in the values of an Object ?
Thanks,
-A
You can use the PropertyChangeEvent on a [Bindable] class to listen for any property changes. As long as you’re using the get/set properties.
Then, in your using class add the event listener.