[Laszlo-dev] how do I implement a mixin as in LZX?

Sarah Allen sarah at ultrasaurus.com
Thu Jan 8 21:37:17 PST 2009


I'm refactoring the av mediastream component to be regular LZX, but  
I'm not familiar with the mixin syntax and I can find documentation  
about (no luck with google or the ref guide... maybe I'm blind)

Here's the snippet that I want to write the "new" way...

   <script when="immediate"><![CDATA[
     mixin NewmediastreamShared {
         function NewmediastreamShared ( parent:LzView? = null ,  
attrs:Object? = null , children:Array? = null, instcall:Boolean  =  
false) {
             super(parent, attrs, children, instcall);
         }
     }
   ]]></script-->

(Trying to avoid that nasty setter bug, which I think is at the root  
of why recording is broken)

Sarah


More information about the Laszlo-dev mailing list