Hey all, I'm trying to extend the Layer class in a way that I can create sub-layers on the fly and animate them. I'm having trouble with closure and scope. I've tried to read up on the subject and follow examples, but nothing's worked for me yet.
I want to: - Generate layers based on an array of images - Generate animations for those layers - Generate event-triggers for the anims
I might be going about this the wrong way. Any advice appreciated!