3 Replies Latest reply on Aug 26, 2008 2:44 PM by kglad

    event listener for a movie clip

    Level 7
      Hi --

      I am trying to replace a stock button (from the components) with a movie
      clip. The button has this code:

      btnSubmit.addEventListener("click",sendData);

      I deleted the button, btnSubmit, and replaced it with a movie clip with the
      same instance name but that did not work. I tried the replacement as both a
      "button" and a "movieclip". What is the correct event listener to get a
      movie clip to fire an event when it is pressed/clicked?

      Thanks

      Rich