Код: Выделить всё
private var click:Number;
Код: Выделить всё
...public function btnClick(e: MouseEvent):void {click=click+1;//как тут?}...
Код: Выделить всё
private var click:Number;
Код: Выделить всё
...public function btnClick(e: MouseEvent):void {click=click+1;//как тут?}...
что именно? как в текстовое поле вставить значение переменной?dead_luminor писал(а):Далее у меня вызвало затруднение
что как?dead_luminor писал(а)://как тут?
Код: Выделить всё
...public function btnClick(e: MouseEvent):void {click_tf.label = toString(click);}...
Код: Выделить всё
dddf.label = toString(click);
Код: Выделить всё
1137: Incorrect number of arguments. Expected no more than 0.1120: Access of undefined property click.1119: Access of possibly undefined property label through a reference with static type flash.text:TextField.
Код: Выделить всё
dddf.text = parseInt(dddf.text)+1;
Код: Выделить всё
dddf.text = click.toString();