1 Reply Latest reply on Mar 4, 2008 6:58 AM by Damon Edwards

    Flash 8 button Component

    cconcannon Level 1
      I have a very simple log-in page with two flash 8 CS2 text input box components (login and password) and a button component for the "Enter". Right now the log-in works, but you have to use a mouse click to get the button to register a hit. I want the button to register an "Enter" keypress. I've tried this code:

      enter_btn.addEventListener("click", enteraSite);
      enter_btn.addEventListener("enter", enteraSite);

      function enteraSite() { //check username and password}

      ...but that doesn't work.

      What am I missing?