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.