1 Reply Latest reply on Oct 6, 2007 2:02 PM by injpix

    Changing a picture with several clicks.

    Venian Level 2
      Hi.

      I have an MC (MovieClip). By clicking, lets say, 5 times on it, it changes to another MC. Can i do this any other way then frames.
      I can have 5 frames and every click (NextFrame). But i was wondering if there is another, more better, way to do it by ActionScript.

      Thank you.
        • 1. Re: Changing a picture with several clicks.
          injpix Level 3
          I am not absolutely sure what you are trying to get at, however you can have a variable inside a MC to keep track of how many times it has been hit. The example has a MC called box_mc that the user can click on and after the user clicks on it the fifth time it will execute code to reveal another MC (ball_mc).