# Little help with Dynamic Text, please

**URL:** <https://forum.kirupa.com/t/little-help-with-dynamic-text-please/225723>\
**Category:** flash\
**Created:** [May 15, 2007, 6:07am UTC](https://forum.kirupa.com/t/little-help-with-dynamic-text-please/225723 "2007-05-15T06:07:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![costa](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@costa](https://forum.kirupa.com/u/costa)\
**Post date:** [May 15, 2007, 6:07am UTC](https://forum.kirupa.com/t/little-help-with-dynamic-text-please/225723/1 "2007-05-15T06:07:23Z")

</div>

Hi all!!

I got a very simple question. I have a Dynamic Text in the stage which I can access from the Timeline without problems but when I try to do the same from a function, also in the Timeline, I got an error. I tried using something like stage.texName.text but it did not work  
The function is called when arrow up is pressed

```auto
function ArrowUp(event:KeyboardEvent) {
myText.text = "I love AS3";
}

```

I guess AS3 is not for my. Even small things are painful.

Thanks in advance
