Код: Выделить всё
button_1.addEventListener(MouseEvent.CLICK, onReset);
function onReset(e:MouseEvent):void{
my_obj.height += 10;
}
Подробнее здесь: https://stackoverflow.com/questions/408 ... ml5-canvas
Код: Выделить всё
button_1.addEventListener(MouseEvent.CLICK, onReset);
function onReset(e:MouseEvent):void{
my_obj.height += 10;
}