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);
}
countReg++;
trace (countReg) // it just keeps counting up. won't start over after 8
}
this.next1_btn.addEventListener (MouseEvent.CLICK, nextReg);
THANKS MUCH
Thanks!
cid:image001.jpg@01CD7F7A.AA9D8500
Tim Wright | Instructional Designer
[... personal contact info removed ...]
North America
Europe, Middle East and Africa
Asia Pacific