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

Max Carlson max at openlaszlo.org
Wed Apr 9 11:59:52 PDT 2008


Okay, I'm on it...

P T Withington wrote:
> 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.

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list