First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: mark

Let's get actionscripting !!!

Okay, you know the story, you know the problem so let's get scripting,
Note: The script i will give you can occur for any type of game or password thingy.

Okay, you have drawn the skater slamming, next frame is the "you loase" frame with a :
 onClipEvent(enterframe) {
thevaraibleforthepoints -10

Which basically means that when you enter that frame you lose 10 points for smashing your head.
-10 should be enough points lost for losing.
Press F6 so that you create a new frame that is exactly the same, except change it's actions to (HE HE HE) :

 gotoandplay(the number of the frame you wan't the cheater to go back to);
thevariableforthepoins - 10 000

Change the 'thevariableforthepoints' thingy in to the variable you want it to be, -10 000 might be a big exagerated lol, but hey WHO CARES, you can change and cheaters need to be punished, so there you are, you got a punished cheater and wroking game !!!
» Level Basic

Added: 2005-01-29
Rating: 4 Votes: 15
» Author
Hi, i am an 11 year old flash maniac.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.