animation-$13.lzx
<canvas width="100%" height="400" bgcolor="0xE5E1B0">
<include href="animation_library.lzx"/>
<view id="tutorial2" height="400" width="${parent.width}" visible="true">
<ruler name="rlr" height="350" y="0"/>
<view height="30"/>
<view height="200" y="40">
<view height="150" x="50">
<box id="B20" onclick="this.anm.doStart()">
<animatorgroup name="anm" start="false" process="simultaneous">
<animator attribute="x" from="0" to="300" duration="1000" motion="linear"/>
<animator attribute="y" from="0" to="100" duration="1000"/>
</animatorgroup>
</box>
</view>
<view height="150" x="350">
<box id="B21" onclick="this.anm.doStart()">
<animatorgroup name="anm" start="false" process="simultaneous">
<animator attribute="x" from="0" to="300" duration="1000"/>
<animator attribute="y" from="0" to="100" duration="1000" motion="easeout"/>
</animatorgroup>
</box>
</view>
<simplelayout axis="y" spacing="10"/>
</view>
</view>
<view x="50" y="350">
<button text="Test" x="50" onclick="B20.anm.doStart(); B21.anm.doStart()"/>
<button text="Reset" onclick="B20.setAttribute('x', 0);B20.setAttribute('y', 0); B21.setAttribute('x', 0);B21.setAttribute('y', 0); this.parent.P2.setAttribute('display', ' ');"/>
<simplelayout axis="x"/>
</view>
</canvas>
Cross References
Includes
Named Instances