.tmp_C5D4A03FE67523A8ADD365C3A38A2CC2_LFC-$8.lzx
<canvas height="200" width="600" bgcolor="#6699FF">
<button name="eventSender" align="center" valign="middle" onmouseover="canvas.player.setAttribute('x', this.avalue + 100);this.avalue=this.avalue + 100" onmouseout="canvas.player.setAttribute('x', this.avalue + 100);">
<attribute name="avalue" value="0
"/>
</button>
<view name="player" bgcolor="red" width="20" height="20" y="30">
<handler name="onavalue" reference="eventSender" args="v">
this.setAttribute('x' , v);
if(this.x>600)this.setAttribute('x' , 0);
</handler>
</view>
</canvas>
Cross References
Named Instances