This content has been marked as final. Show 5 replies
My problem is that I can't seem to reset the countReg var back to 0 once it hits 8. any ideas?
var countReg:Number = 0;
function nextReg(event:MouseEvent) : void
if (countReg == 9)
(countReg == 0);
trace (countReg) // it just keeps counting up. won't start over after 8
this.next1_btn.addEventListener (MouseEvent.CLICK, nextReg);