Frank maybe you have some insight on this issue? It's not a blocker, but it would be nice to test without debug mode.
So in debug mode, with classes being lazy loaded, things work.
I have an interface for the createjs MovieClip class, similar to what I did with greensock, but only mapping native functions. Without using this, I instead get an error about setParent.
In my HTML, I am over-riding some of the jooflash classes, like so:
joo.getOrCreatePackage("flash.display").MovieClip = createjs.MovieClip;
If debug is on, my app works just fine. I'm happy with performance and everything. ( Minification and a reduced number of file requests would be nice, but I'll look at that later. )
The error without the as3 lib to set MovieClip as [Native]
The error with the as3 lib to set MovieClip as [Native]:
- Uncaught TypeError: Object [object Object] has no method 'initialize' MovieClip.js:85