dimanche 27 novembre 2016

equivalent to: my_obj.height += 10; in adobe animate HTML5 canvas?

I have this in my old AS3 project:

button_1.addEventListener(MouseEvent.CLICK, onReset);
function onReset(e:MouseEvent):void{
        my_obj.height += 10;
}

What's it's equivalent in adobe animate HTML5 canvas?

Aucun commentaire:

Enregistrer un commentaire