I need a variable to increment a value in each click of the mouse clicks in the end a开发者_StackOverflowccording to the final results. How is this possible?
var m_myValue:int = 0;
this.stage.addEventListener( MouseEvent.CLICK, this._onClick );
private function _onClick( e:MouseEvent ):void
{
this.m_myValue++;
}
bam
apply the values of variables to a dynamic text box in flash as3??
精彩评论