6 Replies Latest reply on Nov 28, 2012 11:28 AM by Ned Murphy

    How to create a dynamic textarea in AS2

    jencarter

      I am trying to create a dynamic textArea in AS2.  Here is what I have so far:

       

      import mx.controls.TextArea;

      var myTextArea:TextArea = new TextArea();

      myTextArea.setSize(320, 240);

      myTextArea.move(10, 10);

      addChild(myTextArea);

       

      I have the textarea component in my libray, but nothing shows up onscreen.

       

      Help