Need help on click count button thing!
Right now I have a button that whenever I click it, it adds 30 seconds to a countdown timer. I also want the button to keep track of clicks so that whenever it's clicked it adds .01 to a total that starts at 0. This is what I got of the code so far...
bidbutton.addEventListener(MouseEvent.CLICK,addTim e);
function addTime (e:MouseEvent):void {
total_time += 30;
}
Any help would be appreciated!
