1 Reply Latest reply on Sep 20, 2007 12:59 PM by McFazstp

    Input text & press Enter to navigate


      I have an interactive piece where the user inputs some text into a textbox on screen and I want the user to be able to press Enter to navigate to a specific frame based on the text string. I have the string manipulation working fine but can't get the navigation on keyDown working from the textbox.

      I have tried adding script to the textbox sprite:

      on keyDown
      if (_key.key = RETURN) then
      go to frame "Marker"

      but it I can't get it working. It either disables the textbox all together or when Enter is press it just creates a new line in the text box.

      Can anyone help?