[Laszlo-dev] Canvas, init, and swf9...

P T Withington ptw at pobox.com
Wed Apr 9 11:51:47 PDT 2008


I'm definitely getting screwed by the canvas getting inited too soon.   
This computation:

> function __LZinstantiationDone (){
>     if ( !this.immediateparent ||  this.immediateparent.isinited ||
>          ( this.initstage == "early" ) ||
>          ( this.__LZisnew && LzInstantiator.syncNew ) ){
>         //we need to init this and its subnodes
>         this.__LZcallInit( );
>     }
> }

Is trying to init the canvas children too soon, because  
canvas.isinited is true too soon.

---

I think I have a solution for id's, using Henry's idea of a global- 
binder closure, but I am getting thwarted in testing by the canvas  
init-ing too soon.


More information about the Laszlo-dev mailing list