-
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?
-
hi,
removeMovieClip works randomly.. i dont think so(i hope so :)
you should check the condition-statement.. the rest would do exactly what you want.
-
try using this:
_root.score = Number(_root.score) + 1;
that might help. as for the removeMovieclip thing, i'm not sure
-
I'd appriciate if you'd take a look at it (see for youself:))
can I send you the .fla?
K
-
no prob. link is at the bottom of my posts
-
Arghhh :(
Anybody care to take a look at a .fla?
K
[Edited by podenphant on 10-10-2000 at 08:05 PM]