Adobe Animate CC 2021 TUTORIAL - setTimeout-function - JavaScript in HTML5 canvas

Publicado el: 01 abril 2021
en el canal de: MotionTuts
6,519
72

Hello, In this quick tutorial, i will show you how to make setTimeout function in Adobe Animate CC 2021.
Here is the code that we used :

this.btn1.addEventListener("click", hideShapes);
let root = this;

function hideShapes () {
root.blue1.visible=false;
setTimeout (
function () {
root.red1.visible=false;
}, 2000

)}

//setTimeout(function(){ alert("Hello"); }, 3000);

here is the link for the setTimeout :
https://www.w3schools.com/jsref/met_w...

thank you for your time :)


En esta página del sitio puede ver el video en línea Adobe Animate CC 2021 TUTORIAL - setTimeout-function - JavaScript in HTML5 canvas de Duración hora minuto segunda en buena calidad , que subió el usuario MotionTuts 01 abril 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 6,519 veces y le gustó 72 a los espectadores. Disfruta viendo!