Hello, I am new here. I think I’m going to stick around since it looks like the only place where people don’t turn AS2 questions into “there is no reason not to use AS3” hatewalls. Shut up, as2 is a marvelous learning language.
I’m making a little text-adventure to brush up my skills with thinking in arrays and whatnot, and its actually turning into quite the adventure. It’s basically just an _root.output dynamic text field.
Right now, the field is updated with a refresh after each action (+= instead of = ) but I would like the previous text to stay on the screen just like in the old days. Trying that now just makes updated text crawl under the box where you can’t read it.
It would be great if it removed the first line in the box when it reaches the bottom, and scrolls one line up.
I know it can be done in C++ by turning textobject.Lines into an array, and splice it from there, but I have no idea how to reach that information with AS2. Is there such a way? Is there maybe even a much simpeler way I’m overlooking?
Thanks for the help in advance!