1 Reply Latest reply: Apr 22, 2012 7:50 PM by Ned Murphy RSS

    (help) how to extend textbox from stage to oop method

    sungelo

      Hello guys, just a simple question. I have a textbox inside the stage. I just want to know how will I access it using oop methodology. Thank you for your help guys.

        • 1. Re: (help) how to extend textbox from stage to oop method
          Ned Murphy MVP

          Select the textfield and then assign it and instance name in the Properties panel... if you don't see an option for that in the properties panel you need to change it to be a dynamic textfield.  Once you have an instance name assigned to it, you use that name to target it for anything you want to do with it.  For instance, if you name it "tField", then to assign some text to it you would use...

           

          tField.text = "some text";