website promotion banner
eturnkeys
Your Ad Here
Flash & Swish  Home Flash & Swish Swish Tutorials Simple Scoring System
rss

Simple Scoring System

Author: Craig Lowe More by this author


Example:

Click on the numbered buttons above to add the score. use reset to clear the score.

Ok lets start by opening swishmax, this system is really simple for adding a score or points system to a games.

Firstly lets type "Score:" make sure this is static text.

Now lets create a dynamic text box and name it points, just type a zero, so that you can line it up at the side of the score text.

Secondly add a button with the number you wish to add to the score on it. example 10

Now add the following code to the button.

on (release) {
points=Points+++10;
}

Change the 10 to whatever points you wish to add 20, 30, and so on.

To add a reset button simply add the following code to a reset button.

on (release) {
Points="0";
}

This simply just tells the dynamic text box called points to display "0" allowing the scoring to start over again.




Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Simple Scoring System"