Hi, I am having issues with my code:
Code:
on (release) {
_root.gotoAndPlay("styxgood1");
}
on (release) {
exp = + 10;
this. mymc. Styxexp = +10 ;
}
The problem I'm having is that 10 points are being added to my variable inside my movie clip, but when I click on the button again, the points do not increase. When I go to a new frame, the points completely reset. I'm trying to add points to a variable inside my movieclip titled mymc. Does anyone know how to do this? Or know what's wrong with my code?