Go Back   OpenLaszlo Developers Forums > Non-programming help and discussions > Development Tools and Practices

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
Prev Previous Post   Next Post Next
  #1  
Old 12-05-2003, 03:49 PM
antun antun is offline
Forum Administrator
 
Join Date: Jun 2002
Location: San Francisco
Posts: 1,678
antun is on a distinguished road
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>
Enjoy!
__________________
http://www.antunkarlovac.com/blog/

Try out Webtop today:
http://www.gowebtop.com/
Reply With Quote
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT -8. The time now is 12:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.