3 Replies Latest reply on Dec 7, 2009 3:13 PM by Ned Murphy

    Newbie problems with scripting for a button

    Holeycow

      Hi

       

      I feel embarrassed having such a simple problem.

       

      I'm currently doing my first Flash project and have a small scripting problem.

       

      I need to set it up so that only clicking on a button makes the movie jump to a frame number. Currently clicking anywhere on the screen does this.

       

      Script is below:

       

      replay.onMouseUp = function(replay)

      (

      gotoAndPlay(45)

      );

       

      I'm sure the solutiopn is obvious to anyone with basic Flash knowledge, but that is something I am sadly lacking.

       

      Thanks