Reset score for a game

Hello everyone,

I have used the script for adding score to a game from the advanced tutorials section and it works fine. The only problems I still have with it are:

1- it discounts 100 points every time the users click on the same wrong button. I would like the button to work only once since this is for an educational game.

2- when I go back to the first frame, the latest score is already there. How can I erase the score or set it to “0” when the scene is reloaded?

Appreciate your help.

Sawy

1- for the button code, after everything you want done is done, type in _root.whateveryourbuttoniscalled.enabled = false;
if the button is located in a movie clip, type:
_root.movieclip.button.enabled =false;
2- whatever your score variable is(for example score), type in score = 0;

sorry man didn’t work

post your fla if you can…i’ll see what i can do

I tried but the file size is too large. can’t attach it.

Thanks for offering though