# Text field not working

**URL:** <https://forum.kirupa.com/t/text-field-not-working/156581>\
**Category:** flash\
**Created:** [July 26, 2005, 7:58pm UTC](https://forum.kirupa.com/t/text-field-not-working/156581 "2005-07-26T19:58:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asher\_Lightfoot](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@Asher\_Lightfoot](https://forum.kirupa.com/u/Asher_Lightfoot)\
**Post date:** [July 26, 2005, 7:58pm UTC](https://forum.kirupa.com/t/text-field-not-working/156581/1 "2005-07-26T19:58:37Z")

</div>

I have a project where i am using a dynamic text feild that loads up text i hard-code into AS (since it wont be updated). My problem is the field wont load up the text.

I should also state that this project i am using is using screens (?). It wasnt created by me so i dont know how to go about fixing this problem.

A thought would be coding the AS to make the text field work in a sub-timeline (by using \_root or \_level0?) I just dont know enuff about AS to change it.

Here is the AS i have on my movie clip that contains the text field that loads up the text:

onClipEvent (load) {  
daTextBox = “Insert text here”;  
scrolling = 0;  
frameCounter = 1;  
speedFactor = 3;  
}  
onClipEvent (enterFrame) {  
if (frameCounter%speedFactor == 0) {  
if (scrolling == “up” && daTextBox.scroll\>1) {  
daTextBox.scroll–;  
} else if (scrolling == “down” && daTextBox.scroll\<daTextBox.maxscroll) {  
daTextBox.scroll++;  
}  
frameCounter = 0;  
}  
frameCounter++;  
}

I guess i just need to know what to change to make it work. Any help is appreciated.
