ive been doing waaaaaaaaay too much flash stuff lately and im trying to keep to my schedule which means a hell of a lot more work tonight! only problem is that im now incapable of the simpeist tasks out there and need some help. i'm using AS2.0 still and i can't figure out this simple problem:
I want the MC with the following code to do the following things:
If _root.score is more than 1: When it hits the MC _root.cloud it should add 5 to _root.score and this MC should go to and play frame 1 of this MC.
If _root.score is less than 1: WHen it hits the MC _root.cloud the main timeline should stop on frame 6.
Such simple things but I can't get it right! I currently have no errors popping up but nothing happens at all when the MC's collide, here is my current code:
onClipEvent(enterFrame){
if(hitTest(_root.cloud)){
if (_root.score>1) {
_root.score += 5;
this.gotoAndPlay(1);
}
else{_root.gotoAndStop(6);
}
}
}
I know it's going to be something really simple like I put something in the wrong place or the wrong order or something but it's getting really frustrating that I can't figure it out! Help please? Thanks :)