0 Replies Latest reply on Dec 4, 2006 11:45 AM by jaw8339

    Textbox question


      I am working on my Masters project and I'm new to Flash and actionscript. I have a psudo remote (like a TV remote) with alpha-numeric characters (buttons). Any ideas as to how to populate a textbox with the correct character when the button on the remote is pressed. I can do it if I refer to the textbox by name using:

      on (release){
      username.text = (username.text + "A");


      what I would like to do is:
      on (release){
      whatever textbox has focus = that textbox + "A";
      set focus back to that textbox


      The project assumes the use of a remote to enter data instead of a keyboard. There are several textboxes and I control the focus using the remote. Thanks.