# Listening to a Variable

**URL:** <https://forum.kirupa.com/t/listening-to-a-variable/236405>\
**Category:** flash\
**Created:** [August 20, 2007, 5:22pm UTC](https://forum.kirupa.com/t/listening-to-a-variable/236405 "2007-08-20T17:22:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrmyers](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mrmyers](https://forum.kirupa.com/u/mrmyers)\
**Post date:** [August 20, 2007, 5:22pm UTC](https://forum.kirupa.com/t/listening-to-a-variable/236405/1 "2007-08-20T17:22:31Z")

</div>

Hey All,

Is it possible to create an event listener that listens to a variable and calls the defined function anytime that variable changes?

This seems as though it would be a fairly common practice, but I have been hard pressed to find any documentation on the matter, especially in Actionscript 3.0.

Thank you for your time and energy.

Take care,

Nate
