5 Replies Latest reply on Feb 22, 2010 7:28 AM by Ned Murphy

    To creat multiple text fields

    krish_laugh Level 1

      Can we able to create multiple text fields using actionscript 2, without creating any movieclip on the stage.


      When i type


      _root.createEmptyMovieClip("myTextfield", 1);
      _root.myTextfield.myText1.text = "this is text ONE";


      _root.createEmptyMovieClip("myTextfield", 1);
      _root.myTextfield.myText2.text = "this is text TWO";


      it displays only text 2 i dont know why


      i want to create 5 text fields on the stage


      2 for input