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

Scope Issues.

$
0
0

One of the first "help" items on Adobe (Adobe Edge Animate JavaScript API v0.1.7) is

Do

function handleClick(){

Don't

window.handleClick = function (){}

 

howver I see all kinds of discussions dealing with functions using this syntax...

 

sym.handleClick = function(){

 

which seems to be exactly what you are told NOT to do (assuming window and sym are at least similar concepts)....Can someone clarify?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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