I want to animate a moving "sidewalk" sort of graphic, and when it reaches
the end I want to reset the view's x value, and restart the
animation.
I've got code that looks like this, just wondering if there is abetter way
to do this?
<view id="sidewalk" layout="axis: x">
<sidewalk2/>
<sidewalk2/>
<sidewalk2/>
<animator name="anim"
attribute="x"
to="${-parent.width}"
duration="40000" motion="linear"
onstop="parent.setX(0); parent.anim.doStart()" />
</view>
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]