# Suitable EventListener to use?

**URL:** <https://forum.kirupa.com/t/suitable-eventlistener-to-use/289201>\
**Category:** Uncategorized\
**Created:** [May 27, 2009, 1:55pm UTC](https://forum.kirupa.com/t/suitable-eventlistener-to-use/289201 "2009-05-27T13:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quicksmack](https://avatars.discourse-cdn.com/v4/letter/q/fbc32d/32.png) [@quicksmack](https://forum.kirupa.com/u/quicksmack)\
**Post date:** [May 27, 2009, 1:55pm UTC](https://forum.kirupa.com/t/suitable-eventlistener-to-use/289201/1 "2009-05-27T13:55:51Z")

</div>

what event listener should i use if i want to listen to a String that changes its value from time to time?  
(is it even possible???)

```auto
var sampleString:String;
sampleString = "this is a message";

sampleString.addEventListener(????????.????????, runFunction);

function runFunction(??????:??????):void
{
trace("the string is now: " + sampleString);
}

```
