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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![BASICS OF JAVASCRIPT IN ADOBE ANIMATE CC 2021 - TUTORIAL PART 01](https://i.ytimg.com/vi/nEOOBmY4FnY/default.jpg)
![How to make HTML5 GAME in Adobe Animate CC 2019 - 1 hour tutorial](https://i.ytimg.com/vi/wcKzqy_71vA/default.jpg)
![Animate CC: Interactive HTML5 Canvas Video Projects](https://i.ytimg.com/vi/ViDw06N96MQ/default.jpg)
![Pixi.js Tutorial For Complete Beginners - Create 2D Games & All Sorts Of Interactive Content With JS](https://i.ytimg.com/vi/ajaduDDePIY/default.jpg)
![Adobe Animate 2021: Symbols and Tweens [#3] | Beginners Tutorial](https://i.ytimg.com/vi/UlYlcygiJUs/default.jpg)
![Adobe Animate: Choosing Platform Type / HTML5 canvas or ActionScript 3.0](https://i.ytimg.com/vi/PsGbBvRpfLU/default.jpg)
![Adobe Animate CC 2020 position objects with JavaScript - code snippets in HTML5 canvas lesson 4](https://i.ytimg.com/vi/xUIxQM47CSo/default.jpg)
![Interactive Adobe Animate HTML5 canvas project tutorial](https://i.ytimg.com/vi/JQBBql2b7eA/default.jpg)
![Adobe Animate 2021: The Absolute Basics [#1] | Beginners Tutorial](https://i.ytimg.com/vi/E-doxha22QI/default.jpg)
![Introduction to JavaScript Games - Create Your First JavaScript Game - Simple Easy JavaScript Game](https://i.ytimg.com/vi/UUFPEgRKwf4/default.jpg)
![Intro to Adobe Animate 2020 [1/4] | Beginners Tutorial](https://i.ytimg.com/vi/7huMYp7WpsI/default.jpg)
![ADOBE ANIMATE CC 2021 TUTORIAL - CREATE SOUNDS USING JAVASCRIPT AND IF ELSE STATEMENTS.](https://i.ytimg.com/vi/IyYdWKWd8Rw/default.jpg)
![adobe animate cc 2019 getting started with basics tutorial - 1hour long (01)](https://i.ytimg.com/vi/Gj1jADrkeqI/default.jpg)
![HTML5 Canvas Responsive Scaling in Adobe Animate](https://i.ytimg.com/vi/BbqmIKnovTk/default.jpg)
![HTML5 animated banner in Adobe Animate CC 2019 - beginner tutorial](https://i.ytimg.com/vi/CtF0udHA2nE/default.jpg)
![Interactive HTML5 Animation in Animate CC (Interactive Bilbo)](https://i.ytimg.com/vi/sYQwyOFQ2R8/default.jpg)
![Adobe Animate cc 2020 drag and drop tutorial (HTML5)](https://i.ytimg.com/vi/HvtzURAo_ks/default.jpg)
![JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour](https://i.ytimg.com/vi/W6NZfCO5SIk/default.jpg)
![Adobe Animate CC 2020 - click event tutorial - JavaScript in HTML5 canvas](https://i.ytimg.com/vi/Y0BgLjqapXQ/default.jpg)
![Adobe Animate CC 2021 TUTORIAL - gotoAndPlay ( JavaScript in HTML5 document )](https://i.ytimg.com/vi/AkGjj-7JuwY/default.jpg)