HTML5 canvas -Ticker question to execute functions eg: this.on("click", clickHandler, here, false);
I keep seeing the Ticker being used to execute functions. I just wanted to clarify a few things.
It seems to be used when something is loading ie: check to see if the object is loaded then execute the function.
What's the difference between
this.on("click", clickHandler, here, false);
AND
createjs.Ticker.on("tick", ckickHandler);
Also, in the old days, you had to use am add event listener to check if the stage was added, then execute the code. I think it was also a bad idea to put code on the first frame.
Do we need to add anything to our HTML5 canvas first frame?
