[flexcoders] Change Events for Custom Classes

2005-03-28 Thread Andora, Greg
Title: Change Events for Custom Classes I'm wondering if there is a way (and if there is, how would I go about doing it) I can create a change event for a custom MXML class based for a public property. For example, I have an MXML file called MyClass and when the parent application changes

Re: [flexcoders] Change Events for Custom Classes

2005-03-28 Thread Seth Voltz
You want to look into getters and setters Try this: mx:Script> ![CDATA[ private var _myProperty; public function get myProperty ( ) { return _myProperty; } public function set myProperty ( value ) { _myProperty = value; } ]]> /mx:Script> Hope that'll be a good starting point. Seth On Mar

RE: [flexcoders] Change Events for Custom Classes

2005-03-28 Thread Gordon Smith
, 2005 11:55 AMTo: 'flexcoders@yahoogroups.com'Subject: [flexcoders] Change Events for Custom Classes I'm wondering if there is a way (and if there is, how would I go about doing it) I can create a change event for a custom MXML class based for a public property. For example, I have an MXML