Need auto scroll when new message开发者_开发技巧 arrives.
In ActionScript 3, the TextField object has two properties scrollH
and scrollV
which control horizontal and vertical scroll respectively.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html
In AS2, the TextField has hScroll
and scroll
which control horizontal and vertical scroll respectively.
Check out http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary726.html
精彩评论