Sorry about the title gore. I'm currently getting back into Animate after leaving it when we could no longer use flash at work. So now I'm trying to figure out how to do things I would have done in AS, one instance of that is creating object scripts and then instantiating them with:
var myObjectInst:myObject = new myObject(params);
and then listening for events on that object. The object would be self contained and might be a preloader or a plane you could fly around etc.
All the examples I find with Animator and createJS have all the code in a frame and that just seems unwieldy.
So how do you guys create and use objects like this in createJS?