Adobe Animate CC 2019 Java Script in html 5 canvas
Автор: MotionTuts
Загружено: 2019-06-02
Просмотров: 19461
In this video I would like to show you how you can very simple start to write simple Java Script code in Adobe Animate CC 2019.
here is link to freepik image :
https://www.freepik.com/free-vector/d...
credit to the Author of image :
https://www.freepik.com/free-photos-v..."Background vector created by brgfx - www.freepik.com
final code :
stage.enableMouseOver();
var root = this;
this.seed1.visible=false;
this.seed1.visible=true;
this.seed2.visible=false;
this.seed3.visible=false;
this.goLeft.addEventListener("click", seedLeft);
function seedLeft () {
root.seed1.x-=40;
//root.seed1.y=40;
//root.seed1.alpha-=0.1;
}
this.goRight.addEventListener("click", seedRight);
function seedRight () {
root.seed1.x+=40;
//root.seed1.y=40;
//root.seed1.alpha-=0.1;
}
this.seed1.addEventListener("click", grow1);
function grow1 () {
root.seed1.visible=false;
root.seed2.visible=true;
}
this.seed2.addEventListener("click", grow2);
function grow2 () {
root.seed2.visible=false;
root.seed3.visible=true;
}
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: