Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Stage Variable can also be called on click event?

$
0
0

Good Day guys, i just started using edge, and would like to know if the variable i set on the stage creation complete can also be called on a click event?

 

something like this:

 

stage creation complete:

 

var x = function()

{

console.log("x");

}

 

 

on click event:

 

var y = function(){

console.log(x+y);

}


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>