Re: [Flashcoders] Object Listener?
No, such thing does not exist. Perhaps you can use __resolve or getters and setters to hook in the getting of properties, and invalidate then your object. But with this, you will lose type-safety. Greetings, Janosch Doug Coning schrieb: Greetings, Is there an object listener that will trigger if ANY item within the object is modified? I know watch will trigger if a specific attribute is modified, however, I want to trigger an event if any of the attributes within an object is modified. My Object is a complex object. I contains arrays that contain more objects, that contain more arrays. I don't want to have to add event listeners for each array and item within my object. Does a single object listener exist that will recognize any change within an object, no matter how deep it is? Thank you very much! Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Object Listener?
wouldn´t be possible to dispacth some proprietary Event of your class after some attribute changing ? mainly if the attributes only could be changed through the Class setters ??? just a guess 2006/6/12, janosch [EMAIL PROTECTED]: No, such thing does not exist. Perhaps you can use __resolve or getters and setters to hook in the getting of properties, and invalidate then your object. But with this, you will lose type-safety. Greetings, Janosch Doug Coning schrieb: Greetings, Is there an object listener that will trigger if ANY item within the object is modified? I know watch will trigger if a specific attribute is modified, however, I want to trigger an event if any of the attributes within an object is modified. My Object is a complex object. I contains arrays that contain more objects, that contain more arrays. I don't want to have to add event listeners for each array and item within my object. Does a single object listener exist that will recognize any change within an object, no matter how deep it is? Thank you very much! Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- João Carlos ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Object Listener?
Good thought, if only I set up my object to be part of a class. Bummer... So, does anyone know if there is an event listener that can be triggered if an object is modified? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of jcanistrum Sent: Monday, June 12, 2006 10:09 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Object Listener? wouldn´t be possible to dispacth some proprietary Event of your class after some attribute changing ? mainly if the attributes only could be changed through the Class setters ??? just a guess 2006/6/12, janosch [EMAIL PROTECTED]: No, such thing does not exist. Perhaps you can use __resolve or getters and setters to hook in the getting of properties, and invalidate then your object. But with this, you will lose type-safety. Greetings, Janosch Doug Coning schrieb: Greetings, Is there an object listener that will trigger if ANY item within the object is modified? I know watch will trigger if a specific attribute is modified, however, I want to trigger an event if any of the attributes within an object is modified. My Object is a complex object. I contains arrays that contain more objects, that contain more arrays. I don't want to have to add event listeners for each array and item within my object. Does a single object listener exist that will recognize any change within an object, no matter how deep it is? Thank you very much! Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- João Carlos ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com