A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Help with clearing puzzle pieces

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    1

    Question Help with clearing puzzle pieces

    Hi all,

    Just have one bother with a flash puzzle game which I have linked to below:

    http://www.gigahost.co.nz/kiwikenn.zip

    I need to be able to clear all of the pieces away (delete them) after the user presses the menu button in game.

    Can any one with flash knowledge solve my dilema?!

    Cheers

  2. #2
    Senior Member
    Join Date
    Mar 2010
    Posts
    157
    Quote Originally Posted by omika View Post
    Hi all,

    Just have one bother with a flash puzzle game which I have linked to below:

    http://www.gigahost.co.nz/kiwikenn.zip

    I need to be able to clear all of the pieces away (delete them) after the user presses the menu button in game.

    Can any one with flash knowledge solve my dilema?!

    Cheers
    i can't acces your zip, but i would typically suggest using a for-loop with a removeMovieClip() statement.
    otherwise, put a code in the puzzle pieces, saying 'onEnterFrame = function(){if(gameEnd){this.removeMovieClip);}}' or so, but the 1st option might be better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center