|
|||||||
| Development Tools and Practices Questions about development tools and practices. An appropriate place to talk about text editors, IDEs, and anything else that makes your development life easier. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using an Animatorgroup to Control Sequential Animation
You can use an <animatorgroup> to have several animators act on a view in sequence:
Code:
<canvas>
<view name="foo" bgcolor="red" width="50" height="50"
clickable="true" onclick="fooAnim.start()">
<animatorgroup name="fooAnim" process="sequential" start="false">
<animator attribute="x" from="0" to="300" duration="750"
relative="false" />
<animator attribute="y" from="0" to="300" duration="750"
relative="true" />
<animator attribute="x" to="-300" duration="750"
relative="true" />
<animator attribute="y" to="-300" duration="750"
relative="true" />
</animatorgroup>
</view>
</canvas>
__________________
http://www.antunkarlovac.com/blog/ Try out Webtop today: http://www.gowebtop.com/ |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Start second animation before first animation stops? | glam | General OpenLaszlo Programming | 1 | 03-04-2008 11:25 AM |
| sequential animation on text from datapath | rohit | OpenLaszlo Datasets | 5 | 02-18-2008 11:43 AM |
| animation after animation sometimes doesn't work | mrbrdo | General OpenLaszlo Programming | 1 | 10-25-2007 12:27 PM |
| Sequential animation and interruption - bug? | Schwigg | General OpenLaszlo Programming | 3 | 01-18-2007 01:03 PM |
| Sequential Animation | antun | Development Tools and Practices | 0 | 10-09-2003 01:38 PM |