animation-$12.lzx
<canvas width="100%" height="290" bgcolor="0xE5E1B0">
<include href="animation_library.lzx"/>
<view id="tutorial2" height="400" width="${parent.width}" visible="true">
<ruler name="rlr" height="250" y="0"/>
<view height="30"/>
<view height="200" y="40">
<view height="10"/>
<box id="B22" x="50" onclick="this.anm.doStart()">
<animator name="anm" attribute="x" to="500" duration="1000" start="false"/>
</box>
<box id="B23" x="50" onclick="this.anm.doStart()">
<animator name="anm" attribute="x" to="500" duration="1000" start="false" indirect="true"/>
</box>
<simplelayout axis="y" spacing="10"/>
</view>
</view>
<view x="50" y="250">
<button text="Test" x="50" onclick="B22.anm.doStart();B23.anm.doStart()"/>
<button text="Reset" onclick="B22.setAttribute('x', 50); B23.setAttribute('x', 50); this.parent.P2.setAttribute('display', ' ');"/>
<simplelayout axis="x"/>
</view>
</canvas>
Cross References
Includes
Named Instances