# Alternative to onChanged

**URL:** <https://forum.kirupa.com/t/alternative-to-onchanged/269391>\
**Category:** Uncategorized\
**Created:** [August 26, 2008, 10:24pm UTC](https://forum.kirupa.com/t/alternative-to-onchanged/269391 "2008-08-26T22:24:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbase](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@dbase](https://forum.kirupa.com/u/dbase)\
**Post date:** [August 26, 2008, 10:24pm UTC](https://forum.kirupa.com/t/alternative-to-onchanged/269391/1 "2008-08-26T22:24:06Z")

</div>

I have some code that will be generating data into a TextField. However I want to be able to monitor when the TextField is updated, a function is called.

Currently the onChanged command will only work when a user has entered information into the TextField and not when data is inserted via actionscript.

Anyone explain to me how I can monitor the change to the TextField when using actionscript to input data, but work the same as the onChanged command?
