[Laszlo-dev] how to handle user-defined classes in the swf9 runtime

P T Withington ptw at pobox.com
Mon Jan 7 12:36:00 PST 2008


Remember Class.lzs is really just the runtime support for JS2 class  
semantics in a JS1 runtime.  So the goal is to have that be unused in  
a JS2 runtime (like swf9).

On 2008-01-07, at 15:34 EST, P T Withington wrote:

> I agree.
>
> I'm just not sure if we need a UserClass (that is a subclass of  
> view) that these classes inherit from, or if they can just directly  
> inherit from view (or some other lfc class).  There is some stuff  
> that happens in UserClass that is different from node.
>
> On 2008-01-07, at 15:30 EST, Henry Minsky wrote:
>
>> I think the most pragmatic thing to do is to bite the bullet, so to
>> speak, and make
>> the tag compiler emit class { .... } declarations for user-defined
>> classes. It seems like
>> the alternative would be to use our Class.lzs in swf9 for user- 
>> defined classes
>> at runtime, which seems like it would cause all sorts of confusion.
>>
>>
>>
>> -- 
>> Henry Minsky
>> Software Architect
>> hminsky at laszlosystems.com
>



More information about the Laszlo-dev mailing list