Bluebomber128
05-24-2002, 05:49 PM
I got a game where you click on movie clips, and when you click on them, depending on the type, you get a point or you lose a point. The movie click stops on place when you click it. The score keeps track of it perfectly with my action script, but if you click on the object more than once, the score will go up or down depending on the movie clip and I dont want it to. I tried using this If statement:
if (this._currentframe = 8) {
_root.score = _root.score -0;
} else {
}
_root.score = _root.score -1;
Is there is anything obviously wrong with it? And my problem is in the first line. How do I make it so that, if the movie clip is at frame 8, that it wont add or subtract from the score :confused:
if (this._currentframe = 8) {
_root.score = _root.score -0;
} else {
}
_root.score = _root.score -1;
Is there is anything obviously wrong with it? And my problem is in the first line. How do I make it so that, if the movie clip is at frame 8, that it wont add or subtract from the score :confused: