# Make flash listen for change in a variable

**URL:** <https://forum.kirupa.com/t/make-flash-listen-for-change-in-a-variable/204894>\
**Category:** Uncategorized\
**Created:** [October 24, 2006, 1:17pm UTC](https://forum.kirupa.com/t/make-flash-listen-for-change-in-a-variable/204894 "2006-10-24T13:17:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![camupod](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/camupod/32/2903_2.png) [@camupod](https://forum.kirupa.com/u/camupod)\
**Post date:** [October 24, 2006, 1:17pm UTC](https://forum.kirupa.com/t/make-flash-listen-for-change-in-a-variable/204894/1 "2006-10-24T13:17:20Z")

</div>

I am trying to get my flash animation to do something when it detects a change in a variable (number) that is communicated to it from JavaScript. All I need to do is \*  
if variable change{  
do this stuff  
}\*

Anyone know how I can do that?

Thanks
