Sounds like what you want is a getter/setter.

public function set myVar(value:String):void
{
}

public function get myVar():String
{
}

now when myVar gets set your method will be called.

-Greg

On 6/23/06, Doug Arthur <[EMAIL PROTECTED]> wrote:
Is there a way to add an EventListner to see when a value of a variable has changed? For instance, if I want to invoke a specific function when myVar is no longer empty?
 
Thanks!

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to