Adam Wolff wrote:
> Max, thanks for presenting the kernel API
> (http://wiki.openlaszlo.org/KernelAPIProposal) at the offsite yesterday.
Hey, thanks for coming!
> One thing that seemed like it was missing (in retrospect) was a kernel
> object to represent the canvas. That's usually different from a regular
> view, huh?
Yes!
> Also, in SWF at least, the global object needs to be defined as _root. In
> DHTML, I suppose you'd want to say global = this outside the context of
> any function. Where in the kernel would that go?
From the spec:
Constructor
new Sprite( Object:owner, Boolean:isroot )
The constructor has two arguments:
* a reference to the owner object
* isroot determines if the sprite is the root display object
(canvas) or not
-Max
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev