LzView.unload() does not work. Try the code below:
<canvas debug="true">
<dataset name="ds">
<image src="cd_cover.jpg"/>
</dataset>
<simplelayout/>
<view name="v" datapath="ds:/image/@src">
<method name="applyData" args="d">
this.setSource(d);
</method>
</view>
<button>OK
<method event="onclick">
parent.v.unload();
</method>
</button>
</canvas>
taocore
