<canvas debug="true" width="750" height="470" bgcolor="white">	

	
	<class name="myview" x="10" y="20" width="20" height="20" bgcolor="red">

		<animatorgroup name="movemv" start="false">
		
			<animator name="movemv" attribute="x" to="730" duration="10000" start="false"/>			    
		</animatorgroup>

	</class>
	
	<myview name="mv"/>
	
<view name="clickme" width="30" y="200" height="30" bgcolor="black">
	<handler name="onclick">
		this.parent.mv.setX(10);
		this.parent.mv.movemv.doStart();
	</handler>
</view>

<view name="clickme1" width="30" x="100" y="200" height="30" bgcolor="black">
	<handler name="onclick">
		this.parent.mv.movemv.stop();
	</handler>
</view>

	
</canvas>

