|
-
I want the variable "score" to increase by one when the condition is true.
However "score" doesn't alway update and sometimes adds more than "1". "this.removeMovieClip();" only works randomly.
The mc flip1 is triggered by keypress(left).
if (_root.flip1._currentframe=2 and this._y<450)
_root.score = _root.score+1;
this.removeMovieClip();
}
How can it be?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|