TextArea의 스크롤을 자동으로 넘기는 예제입니다. 

 

<?xml version="1.0" encoding="utf-8"?>

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

           xmlns:s="library://ns.adobe.com/flex/spark">

     <fx:Script>

           <![CDATA[

                import spark.components.supportClasses.StyleableTextField;

               

                private var num:Number = 1;

               

                private function inputText():void

                {

                     StyleableTextField(messageBox.textDisplay).htmlText += "<font>" + num.toString() + "</font>\n"; 

                     messageBox.selectRange(int.MAX_VALUE, int.MAX_VALUE);

                     num++;

                }

           ]]>

     </fx:Script>

    

    

     <s:VGroup width="100%" height="100%">

           <s:TextArea id="messageBox"

                           skinClass="spark.skins.mobile.TextAreaSkin"

                           width="100%" height="100%"

                           />

           <s:Button label="Input Text" click="inputText()"/>

     </s:VGroup>

</s:View>


AND