Загрузка страницы

Adobe Animate CC 2019 Java Script in html 5 canvas

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/diagram-plant-growth-stages_3849210.htm

credit to the Author of image :
https://www.freepik.com/free-photos-vectors/background"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;

}

Видео Adobe Animate CC 2019 Java Script in html 5 canvas канала MotionTuts
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
2 июня 2019 г. 16:47:51
00:36:22
Яндекс.Метрика