0 Replies Latest reply on Feb 11, 2009 4:36 PM by topographicocean

    TextArea and Cursor

    topographicocean
      I'm trying to get the cursor to show up initially in a TextArea. For example, if I do this:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:TextArea creationComplete="init()" xmlns:mx=" http://www.adobe.com/2006/mxml" >
      <mx:Script>
      <![CDATA[
      private function init() : void
      {
      this.setFocus();
      }
      ]]>
      </mx:Script>
      </mx:TextArea>

      I expect to see a text area with focus and with the cursor blinking. However, all I get is a textarea with focus but no cursor. I've seen some posts elsewhere with people having the same issue and the claimed solution is set focus. But I'm having no luck -- you have to click in the textarea bock to get the cursor.