What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
Hello I recently made a flash sketcher as some of you know. I know how to make buttons to draw with diffrent colors. However I’ve searched online countless times on actionscript to help me create an “erase” button that would clear the drawing board. I have no idea where to start, so any help would be appreciated (im very new to this flash thing, maybe a good 48 hours under my belt) Thanks for the help.
Nqkoi1 yr script just pushes the current from ahead by one what happens when the user runs out of frames? Of course that could be an interesting dynamic making it into like some kind of limited page book let or something?
Use the Movieclip.clear(); function. So for example, if the movieclip that your sketch is contained in is called “sketch”, then the code on your erase button would be:
This only clears stuff drawn in actionscript, i.e with lineTo, beginFill, etc.