.tmp_12612ADA3293B2125AB372BD37C2E93E_calculator-$2.lzx
<canvas width="100%" height="500">
<resource name="calc_body" src="resources/body.png"/>
<resource name="calc_display" src="resources/display.png"/>
<resource name="button_grn" src="resources/button_green.gif"/>
<resource name="button_red" src="resources/button_red.gif"/>
<resource name="button_blu" src="resources/button_blue.gif"/>
<view name="calculator" resource="calc_body" x="20" y="20">
<view id="display" resource="calc_display" x="20" y="31">
<text name="screen" height="30" width="165" font="displayText" fontsize="25" y="5" x="5">
0
</text>
</view>
</view>
<view resource="button_blu" clickable="true" onclick="display.inputDigit( this );">
<text name="buttonText" font="obliqueText" fontsize="30" fgcolor="#ffffff" x="9" valign="middle">
7
</text>
</view>
</canvas>
Cross References
Resources
Named Instances