5 Replies Latest reply on Apr 20, 2010 5:01 PM by La Bestia

    Content from Textfield into another

    La Bestia Level 1

      So I have a kids game I'm working on and I have a textField(t1) that once the kids start typing I want it to automatically start filling in the other textField(t2).

       

      I am having a really hard time with the messages I keep getting that you cannot perform this type of action on a static mx item. When I build them dynamically like in AS3 I get errors as well. Can anyone shed any light on this?

       

       

      public var textFld:TextField = new TextField();
                  addChild(textFld);
                  textFld.text = "Please add your information here.";
                  textFld.x = 100;
                  textFld.y = 200;