tonka1o
07-12-2005, 03:38 PM
I have:
- a TextArea:chat_txt
- a Text Input:send_txt
- a Button: send_btn
...with the following code:
send_btn.onRelease = function(){
chat_txt.text += send_txt.text + "\n";
}
All I want is the TextArea to scroll to the bottom each time a new line is entered. However, it always stays at the top.
I've tried "chat_txt.scroll = chat_txt.maxscroll" and it did made no difference.
'Preciate any help. Thanks.
- a TextArea:chat_txt
- a Text Input:send_txt
- a Button: send_btn
...with the following code:
send_btn.onRelease = function(){
chat_txt.text += send_txt.text + "\n";
}
All I want is the TextArea to scroll to the bottom each time a new line is entered. However, it always stays at the top.
I've tried "chat_txt.scroll = chat_txt.maxscroll" and it did made no difference.
'Preciate any help. Thanks.