# \[AS2\] watch variables with eventDispatcher

**URL:** <https://forum.kirupa.com/t/as2-watch-variables-with-eventdispatcher/216207>\
**Category:** flash\
**Created:** [February 14, 2007, 3:15pm UTC](https://forum.kirupa.com/t/as2-watch-variables-with-eventdispatcher/216207 "2007-02-14T15:15:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolb](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nicolb](https://forum.kirupa.com/u/nicolb)\
**Post date:** [February 14, 2007, 3:15pm UTC](https://forum.kirupa.com/t/as2-watch-variables-with-eventdispatcher/216207/1 "2007-02-14T15:15:56Z")

</div>

Hi everybody !

I would like to know if there is a way to watch / listen to variables or object properties using the eventDispatcher class ?  
I checked tutorials about this class and I understand basics but I really don’t see how to do this…

I know the existence of the watch() function, but I heard its possible to use eventDispatcher instead…

Thanks.
