.tmp_C5D4A03FE67523A8ADD365C3A38A2CC2_LFC-$38.lzx
<canvas height="250" debug="true">
<debug height="90%"/>
<handler name="onkeydown" reference="lz.Keys" args="k">
Debug.debug("key %w %s", k, "down");
</handler>
<handler name="onkeyup" reference="lz.Keys" args="k">
Debug.debug("key %w %s", k, "up");
</handler>
<method name="pressA" args="ignore=null">
Debug.debug("A pressed");
</method>
<handler name="oninit">
var del = new LzDelegate(this, "pressA");
lz.Keys.callOnKeyCombo(del, ["A"]);
</handler>
</canvas>
Cross References
Named Instances