1 Reply Latest reply on Dec 2, 2006 2:59 PM by kglad

    Creating a player name

    Throntel
      I'm trying to make a game start up with a box asking for a name, and this name is suppose to be stored as a variable.
      So what I tried now was to create a input textbox with the instance name: "names", and a symbol (button).

      In the button I added this script:

      on(release){
      heroname = names;
      gotoAndStop("G1");
      }

      G1 being the framelabel of frame 2
      Then at the next frame I tried to add a dynamic textbox just to check if it worked, and gave it the variable "heroname", but it doesn't show anything. What's wrong?