[SIZE=2][FONT=courier new]hi! i have a problem creating scores in my game. how can i stop it from incrementing +1?
my code is this…
if(this.hitTest(_root.myObj._x, _root.myObj._y, true))
{
unloadMovie(_root.myObj);
_root.score += 1;
}
the this is the “goal” of my game. if *myObj *hit it, the score must increment JUST ONE. and even though i added the code unloadMovie(_root.myObj), it still wont stop incrementing! how can i fix this?
thanks in advance! [/FONT][/SIZE]