To download the code, you must agree to the following license:

Copyright 2010, GreenSock, Inc.

"NO CHARGE" NON-EXCLUSIVE SOFTWARE LICENSE AGREEMENT
-----------------------------------------------------------------------------
PLAIN ENGLISH SUMMARY:

  1. You may use the code at no charge in commercial or non-commercial web sites, games, components, applications, and other software as long as end users are not charged a fee of any kind to use your product or gain access to any part of it. If your client pays you a one-time fee to create the site/product, that's perfectly fine and qualifies under the "no charge" license. If end users are charged a usage/access/license fee, please sign up for a corporate Club GreenSock membership which comes with a special commercial license granting you permission to do so. See http://www.greensock.com/club/ for details.
  2. Use at your own risk. No warranties are offered.
  3. Please respect the copyright.

-----------------------------------------------------------------------------

LEGALESE:

This is a legal agreement between you (either an individual or a single entity) and GreenSock, Inc. ("GREENSOCK") for the proprietary GreenSock ActionScript code known as TweenLite, TweenMax, TweenNano, TimelineLite, TimelineMax, and other code that is available for download at http://www.greensock.com (this code and documentation, as well as any updates which may at GREENSOCK's sole discretion be provided to you from time to time, are referred to in this Agreement as "PROGRAM") By downloading, copying, or otherwise using the PROGRAM, you agree to the terms and conditions of this Agreement. If you do not agree to the terms and conditions of this Agreement, please do not download or use the PROGRAM.

I. LICENSE
A. Subject to the terms and conditions of this Agreement, GREENSOCK hereby grants you a non-exclusive, worldwide, non-transferable right to use the PROGRAM in web sites, games, components and other software applications for which the end user is NOT charged any fees. If you would like to use the code in a commercially licensed software product for which end users are charged a fee (either for usage or access), simply sign up for a corporate Club GreenSock membership at http://www.greensock.com/club/.

II. LIMITATION OF LICENSE AND RESTRICTIONS
A. You agree that you will not disclose, sell, rent, or license the PROGRAM's source code or any derivative works thereof to any third party without the prior written consent of GREENSOCK. Derivative works are defined as modifications that add substantive functionality to the PROGRAM and do not include bug fixes or other minor modifications required to operate the PROGRAM as originally intended. Distribution of the source code as part of your Work Product is acceptable so long as the recipients agree to the terms of this Agreement. You agree not to modify or delete GREENSOCK'S existing copyright notice located in the source code.

B. You may use, duplicate, and distribute the compiled object code as embedded in a Work Product created by you, either for your own use or for distribution to a third party so long as end users of the Work Product are not charged a fee for usage of or access to any portion of the Work Product. Please see http://www.greensock.com/licensing/ for descriptions of Work Products that qualify for the "No Charge" license.

III. CONSIDERATION
A. The license rights granted to you under this Agreement are at no charge, but only in the following circumstances: If on your own behalf or on behalf of a third party you incorporate the PROGRAM into a web site, game, software application, program or any component thereof (collectively, "Work Product"), which in the case of a web site, must be accessible to internet users without payment of a fee of any kind, and in the case of a software application, game, program or component, neither you nor anyone to whom you distribute the Work Product charges a user a fee of any kind to use such Work Product or application, game, program or component into which such Work Product is embedded. The foregoing shall apply regardless of whether you are paid to create such Work Product.

B. In the event your intended use of the PROGRAM does not meet the criteria for the "no charge" license rights set forth in the immediately preceding paragraph, then you are not licensed to use the PROGRAM under this Agreement and must license the PROGRAM under GREENSOCK'S separate fee-based Software License Agreement which is granted to corporate Club GreenSock members (see http://www.greensock.com/club/ for details).

IV. TITLE AND OWNERSHIP
A. The PROGRAM is licensed, not sold, and is protected by copyright laws and international treaty provisions. You acknowledge that no title to the intellectual property in the PROGRAM is transferred to you. You further acknowledge that title and full ownership rights to the PROGRAM, including all intellectual property rights therein, will remain the exclusive property of GREENSOCK and you will not acquire any rights to the PROGRAM except as expressly set forth in this Agreement. You agree that any copies of the PROGRAM you make will contain the same proprietary notices which appear on and in the PROGRAM. You agree that GREENSOCK may identify you as a licensee unless you make a written request otherwise. GREENSOCK hereby grants to you the right to disclose that your product, game, software application, component, or other Work Product makes use of GREENSOCK code (for example, "Powered by TweenLite").

V. DISCLAIMER OF WARRANTY AND LIMITATION OF LIABILITY
A. THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. GREENSOCK DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE PROGRAM WILL MEET YOUR REQUIREMENTS OR THAT OPERATION WILL BE UNINTERRUPTED OR ERROR FREE. GREENSOCK shall not be liable for special, indirect, incidental, or consequential damages with respect to any claim on account of or arising from this Agreement or use of the PROGRAM, even if GREENSOCK has been or is hereafter advised of the possibility of such damages. Because some states do not allow certain exclusions or limitations on implied warranties or of liability for consequential or incidental damages, the above exclusions may not apply to you. In no event, however, will GREENSOCK be liable to you, under any theory of recovery, in an amount in excess of $250. Notwithstanding anything else in this agreement, you agree to indemnify GREENSOCK, its assignees, and licensees, and hold each of them harmless from and against any and all claims, demands, losses, damages, liabilities, costs, and expenses, including legal fees resulting from your use of the PROGRAM.

B. GREENSOCK may, at its sole discretion, provide support services related to the PROGRAM, but has no obligation to do so.

VI. TERMINATION
If you at any time fail to abide by the terms of this Agreement, GREENSOCK shall have the right to immediately terminate the license granted herein, require the return or destruction of all copies of the PROGRAM from you and certification in writing as to such return or destruction, and pursue any other legal or equitable remedies available.

VII. MISCELLANEOUS
A. This Agreement shall be construed in accordance with the laws of the State of Illinois. In the event of any dispute between you and GREENSOCK with respect to this Agreement, we both agree that if we cannot resolve the dispute in good faith discussion, either of us may submit the dispute for resolution to arbitration with the American Arbitration Association before a single arbitrator using the AAA Rules for Commercial Arbitration. The arbitrator's decision is final and can be enforced in any court with jurisdiction over such matters.

B. This agreement represents the complete and exclusive statement of the agreement between GREENSOCK and you and supersedes all prior agreements, proposals, representations and other communications, verbal or written, between them with respect to use of the program. This agreement may be modified only with the mutual written approval of authorized representatives of the parties.

C. The terms and conditions of this Agreement shall prevail notwithstanding any different, conflicting, or additional terms or conditions which may appear in any purchase order or other document submitted by you. You agree that such additional or inconsistent terms are deemed rejected by GREENSOCK.

D. GREENSOCK and you agree that any xerographically or electronically reproduced copy of this Agreement shall have the same legal force and effect as any copy bearing original signatures of the parties.

I'd like to learn how to get bonus plugins, update notifications, SVN access, and more.
To join Club GreenSock, you must agree to the following license:

TweenGroup – Manage Sequences and Groups of TweenLite/Max Tweens

TweenGroup Deprecated

With the launch of v11, TweenGroup has been offially deprecated in favor of the much more capable, flexible TimelineLite and TimelineMax classes. They do almost exactly what TweenGroup did but in a much more intuitive, flexible, powerful way. You can even nest timelines within timelines. I realize TweenGroup’s deprecation may sound like bad news to some developers, but trust me, once you use TimelineLite/Max I’m confident you’ll see why this is a good move. I try very hard to avoid deprecating things because people grow to rely on the code, so rest assured that I didn’t make this decision lightly.

Comments (16) RSS

Posted by LL on October 4, 2008

Wow, nice stuff Jack! Another reason to argue for TweenLite/FilterLite/Max. ;-) The download links go to TweenMax downloads is that correct?

Posted by jack on October 4, 2008

Yes, LL, TweenGroup is now included with all of the tweening class downloads (TweenLite/FilterLite/Max). The link goes to TweenMax because it includes all of the other classes as well. Enjoy!

Posted by M;cha31 on October 5, 2008

wow. just . . . wow. nice little Halloween treat to digg into this weekend. thank you a million times over. looking forward to playing around with TweenGroup. what a great addition to the genius that is the GreenSock family of classes. astounded as always Jack, please keep up the great work.

Posted by Claus Due on October 5, 2008

Jack,

It’s as if you read my mind, I was actually going to build a similar (though much, much less sofisticated) handler for Array’ed tweens that I created using TweenMax – now I don’t have to. I’m still completely amazed at how well your tweeners work and I can’t imagine how you manage to find the time for all this. I’m already in love with the Array aspect of TweenGroup and I haven’t even gotten around to using it yet :)

The Tween family is by far the most useful and time-saving piece of code I’ve seen/used this year. Thank you – a thousand times over.

Kind regards,
Claus

Posted by Maikel on October 5, 2008

Great work as always Jack,

Thanks for adding this very useful feature to the already awesome tweenLite/Max.
Looking forward to seeing more cool stuff from you.

Keep up the great work.

Posted by stephanie on October 6, 2008

Adobe needs to hire you!

Posted by rainboltart on October 7, 2008

Hey there: Loving the idea.. I’m trying it out now.. I just went through a project where I needed “everything two wrap-up” if the person clicked on a continue button and this would have been perfect. Thanks so much for your hard work.

Posted by doug goodman on October 9, 2008

Hi Jack

Can you add tweenGroups to other tweenGroups, to build up really complex tweens (analogous to flex’s native Sequence and Parallel functions)

Doug

Posted by jack on October 11, 2008

Doug, yep, you sure can. Check out the new mergeGroup() method.

Posted by Daniel on October 16, 2008

Great work!
how would you set a delay on a group?

Posted by jack on October 16, 2008

Daniel, you can set a delay on a group in either of two ways:

1) If your group is aligned with ALIGN_SEQUENCE, make the first tween in the group have a delay.

2) Just pause() the group immediately, then use a TweenLite.delayedCall(TIME, myGroup.resume) to start it playing in however much time you want.

Posted by Jonas on October 17, 2008

Hi,

I am wondering if it´s possible to start a tween in a group before the tween prior to it is complete.
In the old fuse API by Moses Gunesch there was a feature called trigger that could be specified on each tween.

Posted by jack on October 17, 2008

Sure, Jonas, if you’ve got a group that’s aligned as ALIGN_SEQUENCE and you want, for example, the second tween to start 0.5 seconds before the first one finishes, you can simply use a negative delay value (-0.5 in this case) for that tween.

Posted by redblind on November 11, 2008

Just tried this out for the first time. Good stuff! Very well thought out. I can see this becoming regular in my tool set.

Posted by Vern on November 18, 2008

Very cool…speed is impressive

Posted by Andre on January 22, 2009

Hi, just wanted to say thank you. It took exactly 4 minutes to implement, and I am not a Flash Guru!

Regards

Andre