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

Call a function

$
0
0

I am setting this function in my compositionready and I want to call it from different places. That works fine but I also want to run myFunction() when the program launches. So I have this: (and it is not working) what am I doing wrong?

 

 

 

 

sym.getComposition().getStage().myFunction();

 

 

sym.myFunction = function()

{

alert("function called")

}


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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