LZX-$50.lzx
<canvas debug="true" height="300">
<debug x="10" y="40" height="240"/>
<security>
<allow>
<pattern>^examples\.ConstructExample</pattern>
</allow>
</security>
<javarpc name="ce" scope="session" remoteclassname="examples.ConstructExample" createargs="[1]" autoload="false">
<handler name="onerror" args="err">
Debug.debug("onerror: %w", err)
</handler>
<handler name="onload">
Debug.debug("proxy loaded: %w", this.proxy);
</handler>
</javarpc>
<javarpc name="te" scope="session" remoteclassname="examples.TypesExample" autoload="false">
<handler name="onerror" args="err">
Debug.debug("onerror: %w", err)
</handler>
<handler name="onload">
Debug.debug("proxy loaded: %w", this.proxy);
</handler>
</javarpc>
<view x="10" y="10" layout="axis: x; spacing: 5">
<button text="Load ConstructExample (allowed)" onclick="canvas.ce.load()"/>
<button text="Load TypesExample (not allowed)" onclick="canvas.te.load()"/>
</view>
</canvas>
Cross References
Named Instances
- <javarpc name="ce">
- <javarpc name="te">