<canvas height="30">
<resource name="waitcursor" src="resources/lzwaitcursor_rsc.swf"/>
<button text="Click me to change the cursor for 1/2 second">
<handler name="onclick">
lz.Cursor.setCursorGlobal('waitcursor');
var del = new LzDelegate(lz.Cursor, 'unlock');
lz.Timer.addTimer(del, 500);
</handler>
</button>
</canvas>