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

call function in external .js from stage.onCompletion

$
0
0

I have my edge composition, and some functions in sim.js

 

within the stage.onCompletion event, I have:

 

$("<script type='text/javascript' src='sim.js'></script>").appendTo("#Stage");

 

how can I call functions, e.g. "testMe()" that are in sim.js from within the stage.onCompletion event?

 

$("testMe()"); was my first thought, but no. what am I missing?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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