3 Replies Latest reply on Sep 2, 2011 9:36 AM by kglad

    Please help with some simple AS2

    eggboyuk

      Hi,

       

      I have a jigsaw puzzle I've been adapting in AS2. It's perfect for my requirements, with one exception. It has a 'Start' button that clears the puzzle picture so you can begin assembling. I don't need the 'Start' button and am currently trying to place the script from the 'Start' button into the timeline so that the completed puzzle picture is automatically cleared, ready for you to start to assembling the four pieces. The puzzle source code and original documantation can be found here:

       

      http://www.actionscript.org/resources/articles/13/1/Jigsaw-Puzzle/Page1.html

       

      This is the script that's currently on the button:

       

      on(release)

      {

      for(i=1;i<=n;i++)

      {

      this.joined_mc["p"+i]._visible = false;

      }

      }

       

      and the button is inside a movie clip on the main stage.

       

      Please can anyone help me on this - would be really grateful!

       

      Thanks,

       

      Ed.