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

    To creat multiple text fields

    krish_laugh

      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.createTextField("myText1",1,0,0,100,20);
      _root.myTextfield.myText1.text = "this is text ONE";

       

      _root.createEmptyMovieClip("myTextfield", 1);
      _root.myTextfield.createTextField("myText2",1,0,0,100,20);
      _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