TweenLite (AS3) - A Lightweight (3K) and FAST Tweening Engine
- Compatibility: Flash Player 9 and later (ActionScript 3.0) (click here for the AS2 version)
- File Size added to published SWF: About 3Kb
|
|
|
Join Club GreenSock to get bonus classes, updates, and much more
RECENT VERSION HIGHLIGHTS
- TweenGroup - TweenGroup is a very powerful, flexible tool for managing groups of TweenLite/FilterLite/Max tweens. I believe it'll quickly become a must-have class for your tweening toolkit. TweenLite is fully compatible with TweenGroup.
- auto overwriting - You may never have to type "overwrite:false" again! Optionally use the new OverwriteManager class for advanced overwriting features. It costs about 1k and with one call to OverwriteManager.init(), all your tweens instantly get auto overwriting so that only overlapping properties in other tweens of the same object are overwritten. There are actually 4 options for overwriting now.
- visible - To set a DisplayObject's "visible" property at the end of a tween, just use this special property, like TweenLite.to(my_mc, 2, {x:300, visible:false});
- removeTint - Previously, to remove the tint from a DisplayObject, you'd set tint:null, but the new way (which is compatible with the new TweenLiteVars strictly-typed utility) is to set removeTint:true.
- TweenLiteVars - I created some utilities so that (if you prefer) you can do strict data typing and get code hinting in applications like Flex Builder, FDT, etc.
- CustomEase - Build your own custom easing equation with this interactive tool.
DESCRIPTION
Tweening. We all do it. Most of us have learned to avoid Adobe's Tween class in favor of a more powerful, less code-heavy engine (Tweener, Fuse, MC Tween, etc.). Each has its own strengths & weaknesses. A few years back, I created TweenLite because I needed a very compact tweening engine that was fast and efficient (I couldn't afford the file size bloat that came with the other tweening engines). It quickly became integral to my work flow. I figured others might be able to benefit from it, so I released it publicly. Over the past few years, the positive feedback has been overwhelming.
Since then, I've added new capabilities while trying to keep file size way down (3K). TweenFilterLite extends TweenLite and adds the ability to tween filters including ColorMatrixFilter effects like saturation, contrast, brightness, hue, and even colorization but it only adds about 3k to the file size. Same syntax as TweenLite. There are AS2 and AS3 versions of both of the classes ready for download.
There's also a new TweenMax class that adds even more features to TweenFilterLite including bezier tweening, pause/resume, and MUCH more.
I know what you're thinking - "if it's so 'lightweight', it's probably missing a lot of features which makes me nervous about using it as my main tweening engine." It is true that it doesn't have the same feature set as the other tweening engines, but I can honestly say that after using it on almost every project I've worked on over the last few years (many award-winning flash apps for fortune-500 companies), it has never let me down. I never found myself needing some other functionality. You can tween any property (including a MovieClip's volume and tint), use any easing function, build in delays, callback functions, pass arguments to that callback function, and even tween Arrays all with one line of code. If you need more features, you can always step up to TweenFilterLite or TweenMax.
I haven't been able to find a faster tween engine either. The syntax is simple and the class doesn't rely on complicated prototype alterations that can cause problems with certain compilers. TweenLite is simple, very fast, and more lightweight than any other popular tweening engine. See an interactive speed comparison of various tweening engines here.
Other links: AS2 Version | Speed Comparison | TweenFilterLite | TweenMax | Forums | TweenGroup | CustomEase
WHY USE TWEENLITE INSTEAD OF ADOBE'S BUILT-IN TWEEN CLASS?
- SPEED. TweenLite is much faster (check out http://blog.greensock.com/tweening-speed-test for comparisons)
- onComplete, onStart, onUpdate callbacks (plus the ability to pass any number of parameters to them)
- autoAlpha (toggles visibility of an object off when the alpha hits zero)
- Tween multiple properties with a single call
- Delay any tween by a set amount (good for sequencing)
- When used with TweenGroup, it's easy to pause(), resume(), restart(), reverse() entire groups of tweens (and lots more)
- Tween the tint of any MovieClip/Sprite VERY easily
- Tween the volume of any MovieClip
- Unique "from()" call that allows you to use the current properties as the end values
- Use relative values
- Tween Arrays of numeric values with a single call
- Advanced control of overwriting behavior (to avoid conflicts)
- Useful delayedCall() allows you to call any function after a set amount of time and even pass any number of arguments
- Has two big brothers, TweenFilterLite and TweenMax that extend TweenLite and adds the ability to tween filters, beziers, hex colors, saturation, hue, contrast, brightness, colorization, and MUCH more.
FEATURE COMPARISON
| TweenLite | TweenFilterLite | TweenMax | |
|
File size
|
3k | 6k | 9k-11k |
|
AS2 and AS3 versions with identical syntax
|
|||
|
Extremely fast performance
|
|||
|
Tween ANY numeric property of any object
|
|||
|
Tween multiple properties with a single line of code
|
|||
|
Syncronized tweens
|
|||
|
Use any standard easing equation
|
|||
|
onComplete, onStart, and onUpdate callbacks, including the ability to pass any number of parameters to those functions (onCompleteParams, onStartParams, onUpdateParams)
|
|||
|
Delay a tween's start time (good for sequencing)
|
|||
|
Automatic garbage collection
|
|||
|
Tween frames of a MovieClip
|
|||
|
Tween tint of a MovieClip/DisplayObject
|
|||
|
autoAlpha (toggles visibility of an object off when the alpha hits zero)
|
|||
|
Tween the volume of any MovieClip/SoundChannel
|
|||
|
Unique "from()" call that allows you to use the current properties as the end values
|
|||
|
Use relative values
|
|||
|
Tween Arrays of numeric values with a single call
|
|||
|
Pass extra parameters to easing equations (like Elastic.easeOut or Back.easeOut) for added control
|
|||
|
Call any function after a set amount of time with the delayedCall() method. Even pass any number of parameters to the function.
|
|||
|
Round values to the nearest integer while tweening (NEW!)
|
|||
|
Speed up or slow down a tween anytime with the timeScale property (NEW!)
|
|||
|
Speed up or slow down ALL TweenMax and TweenFilterLite tweens anytime with the static globalTimeScale property. (NEW!)
|
|||
|
Advanced management of overwriting (AUTO, NONE, ALL, or CONCURRENT) with OverwriteManager (NEW!)
|
optional | optional | |
|
Tween filters like Blur, Glow, DropShadow, Bevel, and ColorMatrix
|
|||
|
Simple controls for tweening a MovieClip's/DisplayObject's saturation, hue, brightness, contrast, threshold, and colorization
|
|||
|
Bezier tweening
|
|||
|
Bezier "through" tweening (define points to hit instead of just control points)
|
|||
|
Automatically orient an object's rotation to a Bezier path
|
|||
|
Pause/Resume capability
|
with TweenGroup |
with TweenGroup |
|
|
reverse() and/or restart() (NEW!)
|
with TweenGroup |
with TweenGroup |
|
|
Grouping and Sequencing (NEW!)
|
with TweenGroup |
with TweenGroup |
with TweenGroup |
|
Tween multiple objects with a single call, including a special "stagger" property that staggers the starting time of each tween
|
with TweenGroup |
with TweenGroup |
with TweenGroup |
|
yoyo (NEW!)
|
with TweenGroup |
with TweenGroup |
|
|
loop (NEW!)
|
with TweenGroup |
with TweenGroup |
|
|
shortRotation (NEW!) - automatically rotates in the shortest direction
|
|||
|
Change destination values anytime with setDestination()(NEW!)
|
|||
|
killProperties() - selectively kill properties of a particular tween (NEW!)
|
|||
|
Jump to any point in the tween using the "progress" property
|
|||
|
Tween unlimited hex color properties
|
|||
|
AS3 Event listeners (NEW!)
|
|||
|
isTweening() function for easily determining if an object is currently tweening
|
|||
|
Get an Array of all TweenMax (and TweenLite and TweenFilterLite) instances that are currently affecting a particular target object.
|
|||
|
Price:
|
FREE (supported by donations)
|
||
USAGE
Every call to TweenLite.to() or TweenLite.from() returns a TweenLite instance which you can optionally keep track of in order to have more control. Here are a few examples of how to create instances:
-
import gs.*;
-
TweenLite.to(mc, 1, {x:200}); //automatically garbage collects
-
var myTween:TweenLite = TweenLite.to(mc, 1, {x:200}); //stores a reference to the TweenLite instance, but you're responsible for making sure it becomes eligible for garbage collection when you're finished with it (you can simply set your variable to null, or if it is still in progress, call TweenLite.removeTween(myTween) first)
-
var myTween:TweenLite = new TweenLite(mc, 1, {x:200}); //identical to the previous line - it just looks more object-oriented.
INSTANCE METHODS
- Description: Constructor. Property values are tweened from whatever they are at the time the tween begins to whatever you define in the variables parameter. (unless you use "runBackwards:true" which is the same as using TweenLite.from())
- Parameters:
- target: Target object whose properties we're tweening
- duration: Duration (in seconds) of the tween
- variables: An object containing the end values of all the properties you'd like to have tweened (or if you're using the TweenLite.from() method, these variables would define the BEGINNING values). Putting quotes around values will make the tween relative to the current value. For example, x:"-20" will tween x to whatever it currently is minus 20 whereas x:-20 will tween x to exactly -20. Here are some examples of properties you might include:
- alpha: The alpha (opacity level) that the target object should finish at (or begin at if you're using TweenLite.from()). For example, if the target.alpha is 1 when this script is called, and you specify this parameter to be 0.5, it'll transition from 1 to 0.5.
- x: To change a MovieClip's x position, just set this to the value you'd like the MovieClip to end up at (or begin at if you're using TweenLite.from()).
Special Properties (**Optional**):
- delay : Number - The number of seconds you'd like to delay before the tween begins. This is very useful when sequencing tweens
- ease : Function - You can specify a function to use for the easing with this variable. For example, gs.easing.Elastic.easeOut. The Default is Regular.easeOut. To build a custom ease, check out the GreenSock CustomEase Builder tool.
- easeParams : Array - An array of extra parameter values to feed the easing equation. This can be useful when you use an equation like Elastic and want to control extra parameters like the amplitude and period. Most easing equations, however, don't require extra parameters so you won't need to pass in any easeParams.
- autoAlpha : Number - Same as changing the "alpha" property but with the additional feature of toggling the "visible" property to false if the alpha ends at 0. It will also toggle visible to true before the tween starts if the value of autoAlpha is greater than zero.
- visible : Boolean - To set a DisplayObject's "visible" property at the end of the tween, use this special property.
- volume : Number - Tweens the volume of an object with a soundTransform property (MovieClip/SoundChannel/NetStream, etc.)
- tint : uint - To change a DisplayObject's tint, set this to the hex value of the color you'd like the DisplayObject to end up at (or begin at if you're using TweenLite.from()). An example hex value would be 0xFF0000.
- removeTint : Boolean - If you'd like to remove the tint that's applied to a DisplayObject, pass true for this special property.
- frame : int - Use this to tween a MovieClip to a particular frame.
- onStart : Function - If you'd like to call a function as soon as the tween begins, pass in a reference to it here. This can be useful when there's a delay and you want something to happen just as the tween begins.
- onStartParams : Array - An array of parameters to pass the onStart function.
- onUpdate : Function - If you'd like to call a function every time the property values are updated (on every frame during the time the tween is active), pass a reference to it here.
- onUpdateParams : Array - An array of parameters to pass the onUpdate function (this is optional)
- onComplete : Function - If you'd like to call a function when the tween has finished, use this.
- onCompleteParams : Array - An array of parameters to pass the onComplete function (this is optional)
- persist : Boolean - if true, the TweenLite instance will NOT automatically be removed by the garbage collector when it is complete. However, it is still eligible to be overwritten by new tweens even if persist is true. By default, it is false.
- renderOnStart : Boolean - If you're using TweenLite.from() (or runBackwards:true) with a delay and want to prevent the tween from rendering until it actually begins, set this special property to true. By default, it's false which causes TweenLite.from() to render its values immediately, even before the delay has expired.
- runBackwards : Boolean - Flips the start and end values in a tween. The from() method automatically sets this value to true.
- overwrite : int - Controls how other tweens of the same object are handled when this tween is created. You can set a default value to be used with ALL tweens in your SWF using the OverwriteManager's init() method, or control them individually with this overwrite property. Here are the options:
- 0 (NONE): No tweens are overwritten. This is the fastest mode, but you need to be careful not to create any tweens with overlapping properties, otherwise they'll conflict with each other.
- 1 (ALL): (this is the default unless OverwriteManager.init() has been called) All tweens of the same object are completely overwritten immediately when the tween is created.
TweenLite.to(mc, 1, {x:100, y:200});
TweenLite.to(mc, 1, {x:300, delay:2, overwrite:1}); //immediately overwrites the previous tween - 2 (AUTO): (used by default if OverwriteManager.init() has been called) Searches for and overwrites only individual overlapping properties in tweens that are active when the tween begins.
TweenLite.to(mc, 1, {x:100, y:200});
TweenLite.to(mc, 1, {x:300, overwrite:2}); //only overwrites the "x" property in the previous tween - 3 (CONCURRENT): Overwrites all tweens of the same object that are active when the tween begins.
TweenLite.to(mc, 1, {x:100, y:200});
TweenLite.to(mc, 1, {x:300, delay:2, overwrite:3}); //does NOT overwrite the previous tween because the first tween will have finished by the time this one begins.
STATIC METHODS
- Description: Creates a new TweenLite instance for you, but shields you from having to create a variable to store it in which can make garbage collection more difficult.
-
var myTween:TweenLite = new TweenLite(mc, 1, {x:300});
-
TweenLite.to(mc, 1, {x:300}); //exactly the same as the previous line, but handles garbage collection automatically.
-
- Parameters: Same as Constructor (see above)
- Description: Exactly the same as TweenLite.to(), but instead of tweening the properties from where they're at currently to whatever you define, this tweens them the opposite way - from where you define TO where ever they are now (when the method is called). This is handy for when things are set up on the stage where the should end up and you just want to animate them into place.
- Parameters: Same as TweenLite.to(). (see above)
- Description: Provides an easy way to call any function after a specified number of seconds. Any number of parameters can be passed to that function when it's called too.
- Parameters:
- delay: Number of seconds before the function should be called.
- onComplete: The function to call
- onCompleteParams [optional] An array of parameters to pass the onComplete function when it's called.
- Description: Provides an easy way to kill all tweens of a particular Object/MovieClip. You can optionally force it to immediately complete (which will also call the onComplete function if you defined one)
- Parameters:
- target: Any/All tweens of this Object/MovieClip will be killed.
- complete: If true, the tweens for this object will immediately complete (go to the ending values and call the onComplete function if you defined one).
- Description: Provides an easy way to kill all delayed calls to a particular function (ones that were instantiated using the TweenLite.delayedCall() method).
- Parameters:
- function: Any/All delayed calls to this function will be killed.
- Description: Kills a single tween instance.
- Parameters:
- tween: The TweenLite instance that you'd like to kill.
EXAMPLES
-
import gs.TweenLite;
-
TweenLite.to(clip_mc, 1.5, {alpha:0.5, x:120, volume:0});
-
import gs.*;
-
import gs.easing.*;
-
TweenLite.to(clip_mc, 5, {alpha:0.5, x:120, ease:Back.easeOut, delay:2, onComplete:onFinishTween, onCompleteParams:[5, clip_mc]});
-
function onFinishTween(parameter1:Number, parameter2:MovieClip):void {
-
trace("The tween has finished! parameters: " + parameter1 + ", and " + parameter2);
-
}
-
import gs.*;
-
import gs.easing.*;
-
TweenLite.from(clip_mc, 5, {y:"-100", ease:Elastic.easeOut});
FAQ
- How do I install the class? Do I have to import it on every frame?
Just make sure the "gs" folder from the download is in the same folder as your FLA file. Keep the class files in the "gs" folder (don't remove them). That's it. And, yes, just like any Class, you need to import TweenLite at the top of any frame that contains code referencing it. This does NOT add extra Kb to your file size every time you import it. Flash is smart enough to embed it once and all the other import statements just act as a "pointer" to the embedded Class. - Why doesn't the tweening engine selectively overwrite ONLY tweens that are affecting the same property? How can I achieve this effect?
By default, when you create a tween, TweenLite looks for all tweens of the same object that already exist and kills them immediately. However, you can add advanced management of overwriting (including AUTO overwriting of only overlapping properties) using the OverwriteManager class. - Can I set up a sequence of tweens so that they occur one after the other?
Of course! Just use the delay property and make sure you set the overwrite property to 0, 2, or 3. Here's an example where we colorize a MovieClip red over the course of 2 seconds, and then move it to a y coordinate of 300 over the course of 1 second:-
import gs.TweenLite;
-
TweenLite.to(clip_mc, 2, {tint:0xFF0000});
-
TweenLite.to(clip_mc, 1, {y:300, delay:2, overwrite:0});
-
- Do the properties have to be in a specific order?
Nope. The only thing that matters is that the first parameter is the object you're tweening, the second parameter is the time (in seconds), and the third parameter contains all the properties you want to tween (in any order). So TweenLite.to(clip_mc, 1, {scaleX:120, y:200, x:1}) is the same as TweenLite.to(clip_mc, 1, {x:1, y:200, scaleX:120}); - Why are TweenLite and TweenFilterLite and TweenMax split into 3 classes instead of building all the functionality into one class?
- File size. Only a portion of projects out there require tweening of filters, beziers, hex colors, etc. TweenLite is 3k whereas TweenFilterLite is 6k and TweenMax is about 11k. Again, one of the stated purposes of TweenLite is to minimize file size & code bloat. If someone only wants to use TweenFilterLite or TweenMax, great. But I think many people appreciate being able to use the most lightweight option for their needs and shave off the 3k when possible.
- Speed. Tweening filters is a more complex task. There are additional if/else statements and calculations in the rendering loop inside TweenFilterLite which could potentially slow things down a bit, even for non-filter tweens (I doubt anyone would notice a difference unless they're running hundreds or thousands of simultaneous tweens, but I'm a big fan of keeping things as efficient & fast as possible)
- Is there a way I can get code hinting and strict datatyping in TweenLite/TweenFilterLite/TweenMax?
Sure, I developed some utility classes to do just that. Learn more here. - Do I have to purchase a license to use this code? Can I use it for commercial purposes?
If you use it in a commercial project, I'd strongly encourage you to at least join Club GreenSock which gets you some bonus classes (only available to club members), update notifications, and more. Your donations keep this project going. However, donations are not mandatory. TweenLite is free for virtually all uses including commercial projects. The only exception is inclusion in commercial products for which you sell licenses to end users. If you don't charge licensing fees for your product, you don't get charged a licensing fee for TweenLite. If you do license your product to end users and would like to use my code, please e-mail me at info@greensock.com and we can determine a reasonable licensing fee. Don't hesitate to inquire or assume the licensing fee would be too much - you may be surprised. Many large companies as well as single developers have obtained licenses because in their view, it ultimately saved them time and gave them a better, more reliable end product.
Need Help?
Feel free to post your question on the forums. You'll increase your chances of getting a prompt answer if you include a simplified FLA file (and any class files) that clearly demonstrates the problem and provide a brief explanation.
Copyright 2008, GreenSock, Inc.
"NO CHARGE" NON-EXCLUSIVE SOFTWARE LICENSE AGREEMENT
-----------------------------------------------------------------------------
PLAIN ENGLISH SUMMARY:
- You may use the code at no charge in 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 it. It doesn’t matter if you are paid to create the site/product. If you charge end users a fee, you must sign up for a corporate Club GreenSock membership which comes with a commercial license granting you permission to do so. See http://blog.greensock.com/club/ for details.
- Since the code is updated frequently and developers are best served by having the latest version, please avoid (or at least minimize) distributing the source code outside your organization.
- Use at your own risk. I offer no warranties.
- 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, TweenFilterLite, TweenMax, TweenGroup, OverwriteManager, and other code that is freely available for download at http://blog.greensock.com or 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 installing, 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 install 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, applications, components and other software 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://blog.greensock.com/club/.
II. LIMITATION OF LICENSE AND RESTRICTIONS
A. You agree that you will not disclose, sell, rent, license, or otherwise distribute 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. Limited distribution of the source code to vendors as part of your Work Product is acceptable so long as they 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 solely 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. Please see http://blog.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, either on your own behalf or on behalf of a third party, you incorporate the Software into a web site, 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 by a user, and in the case of a software application, 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, 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 and, under any circumstances, shall be subject to the prohibition against distribution of Source Code set forth in Section II.
B. In the event your intended use of the Software 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://blog.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 Software 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.
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 the license fee paid by you under this Agreement. 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.
B. GREENSOCK may, at its sole discretion, provide support services related to the PROGRAM, but has no obligation to do so.
VI. TERMINATION
GreenSock may terminate this Agreement at any time if you fail to comply with the terms and conditions of this Agreement.
VII. MISCELLANEOUS
A. This Agreement shall be construed in accordance with the laws of the State of Illinois. Should you for any reason bring a claim, demand, or other action against GREENSOCK, its agents or employees, arising out of this Agreement or the PROGRAM licensed herein, you agree to bring said claim only in the Illinois Court of Claims.
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 donate & get bonus classes, update notifications, SVN access, and more. |
on July 24th, 2007 at 6:39 pm
Hi,
This class is great, I have been using it extensively throughout my newest project. One thing I would like to do, which has given me problems, is something like:
TweenLite.to(fader, 2, {alpha: 0});
TweenLite.to(fader, 2, {alpha:1, delay: 2});
Just a fade out, and then back in. Is this the correct implementation, because it seems to do nothing.
Anyways, thanks again,
ian
on July 24th, 2007 at 7:52 pm
ian, keep in mind that by default, TweenLite will overwrite tweens of the same object (to avoid conflicts) unless you specify overwrite:false. So your second tween was overwriting your first one. It should be more like:
TweenLite.to(fader, 2, {alpha:0});
TweenLite.to(fader, 2, {delay:2, alpha:1, overwrite:false});
Good luck ian!
on August 1st, 2007 at 12:34 pm
This class is fantastic. Much better than Tweener and better documentation too.
on August 7th, 2007 at 1:56 pm
bravo! this is load of functionality to squeeze into 2k!
I love the fact that it overwrites previous tweens on the same object by default. This means if you apply many tweens to the same object (for example a button color tween on rollover/rollout), you don’t start leaking memory due to piling up tween objects (which I think may happen using Tweener?)
on August 10th, 2007 at 6:48 am
The class works great!
How can the params of the ‘ease:Elastic.easeOut’ be changed so the ‘bouce is either less or more of a bounce?
e.g. TweenLite.to(myMovie2, 1, {y:300, delay:4, ease:Elastic.easeOut, overwrite:false});
As above to make the easeOut less of a bounce?
regards,
Dave
on August 10th, 2007 at 9:22 am
Dave, good news: the new release of TweenLite indeed supports passing extra parameters to your easing equation. You just need to use the special easeParams property, like:
TweenLite.to(my_mc, 2, {_x:200, ease:Elastic.easeOut, easeParams:[1.5, 2.45]});
on August 12th, 2007 at 3:40 am
Great Class!
After trying all the AS3 Tweening classes, I think I found my favorite:)
Tweener doesn´t do Filters, so thats a no go for me.
One question though…. Are there really only these few easing methods?
I have gotten used to the Robert Penner equations, which allow a little more finetuning. Is there a possiblity to add these (maybe as an optional Package, because of file size)?
It seems that the fl.transitions doen´t all work either..
for example:
TweenLite.to(logo,0.4,{scaleX:1,scaleY:1,alpha:1,ease:Strong.easeInOut,delay:0.8,overwrite:false});
Gives me an error….
In the post above you discribe making your own custom easing function, anyway to make a package with all the penner equations?
Don´t get me wrong, I really love TweenerLite, I´m just used to having a little more choice on the easing types
on August 12th, 2007 at 4:04 pm
Tim, you absolutely can use ANY easing function you want including the ones that ship with Flash (fl.motion.easing and fl.transitions.easing packages) or Robert Penner’s or custom ones you write. I’m pretty sure that the reason you got an error when trying to use Strong.easeInOut is because you forgot to import the proper class which I believe is fl.transitions.easing.*. I didn’t include all of the various easing equations inside the class because it would eat up too much space unnecessarily.
So your code should look something like:
import fl.transitions.easing.*;
TweenLite.to(logo,0.4,{scaleX:1,scaleY:1,alpha:1,ease:Strong.easeInOut,delay:0.8,overwrite:false});
on August 13th, 2007 at 12:48 pm
I’m pretty new to flash, but I tried out TweenLite…and I love it already. It’s exactly what I’m looking for: powerful, lightweight, and miraculously easy to use.
Just wanted to say thanks.
on August 14th, 2007 at 6:45 pm
it´s a incredible job! :) thank u! it´s much clearer than the Tween class of AS3… :)
Make
on August 22nd, 2007 at 1:41 pm
Jack, I was wondering if it is possible include additional properties like Blur, etc?
This looks soo cool by the way, thanks for developing such an amazing resourrce!
on August 22nd, 2007 at 1:52 pm
Mike, yes, absolutely you can tween filter effects like blurs, drop shadows, and a whole lot more with TweenLite’s “big brother” TweenFilterLite. It extends TweenLite, so the file size hit is incredibly small for the power it packs. You probably just didn’t notice the link to it on the TweenLite page. Check it out at http://www.tweenfilterlite.com. It’s available in AS2 and AS3 flavors.
on August 30th, 2007 at 7:19 pm
Awesome, awesome, awesome.
I have been developing my own animation library for years and switching it over to AS3 is a pain for sure.
You’ve done a really great job so far, keep up the good work!
on August 30th, 2007 at 7:51 pm
This is exactly what I was looking for. YOU ARE THE MAN!
Thank you for all your work.
on September 17th, 2007 at 2:17 pm
Excellent job fixing Macradobe’s tween problem. I kept banging my head thinking that I was doing something wrong when using Adobe’s Tween class, due to the tweens hanging on me. Found out that it is a current bug. You can read this blog here to see others who are experiencing this issue: http://alvinzhang.info/?p=4
Oh and btw sent you some cash for your hard work. Really do appreciate it.
on October 21st, 2007 at 8:37 pm
Hi Jack,
Just playing around with TweenLite and loving it so far. My mind if overflowing with ideas!
I tried to add both a “from” and a “to” tween to your second example with the text as shown below. I wanted to drop the words in the same way, but have them tween “to” a random color at the same time: You can drop this into your Sample_2.fla. Here is the code again:
//Drop the words into place
for (i = 1; i <= 7; i++) {
mc = this["word"+i+"_mc"];
// var color:int = (Math.random() * 0xFFFFFF) + 0xFF000000;
var color:int = 0xFF;
TweenLite.from(mc, 2, {y:mc.y - 140, autoAlpha:0, ease:Elastic.easeOut, delay:i * 0.35});
TweenLite.to(mc, 2, {tint:color, overwrite:false, delay:i * 0.35});
}
on October 22nd, 2007 at 4:37 am
Hi there!
I’ve become interested in your class when I saw the latest test between the diffrent engines. One question though:
How many different tweens are beeing supported? Does it support all these ones in the link below?
http://hosted.zeh.com.br/tweener/docs/en-us/misc/transitions.html
on October 22nd, 2007 at 8:23 am
Yes, Niklas, TweenLite supports almost any easing equation you can throw at it as long as it’s in the standard format like the Penner easing equations and all the ones that ship with Flash (Linear, Elastic, Expo, Strong, Regular, Bounce, etc. - and each have easeIn, easeOut, and easeInOut). One of the ways TweenLite stays lightweight is that it doesn’t put all of those equations inside the class and bloat the SWF with ones you won’t use - you simply pass a reference to whichever equation you want to use into TweenLite as the ease property (see above documentation) and that’s it. See the interactive sample for example code.
on October 22nd, 2007 at 9:17 am
Ken, You can do a TweenLite.to() and a TweenLite.from() on the same object BUT here’s the reason your tweens looked like they didn’t work (they actually did - just not the way you expected):
When you tween the tint (what used to be mcColor), it must factor in the alpha value because the ColorTransform affects it. For example, if you set a MovieClip’s alpha to 0.5 and then use a ColorTransform to make it 0xFF0000, the alpha will end up being 1 unless you factor in the alphaMultiplier. TweenLite tries to accommodate this by looking to see if the same TweenLite instance is also tweening alpha. If it is, it uses that alpha value in the alphaMultiplier, otherwise it uses the MovieClip’s current alpha. In your case, when the TweenLite.to() started to run, the alpha was zero, and since there was no alpha being tweened in that same instance, it used that “current” value so your MovieClips had an alpha of zero the whole time. It would be possible to add code to TweenLite to look through all the other tweens of an object to see if there are any other instances affecting the alpha, but I’ve resisted doing so because it would increase the Kb and slow things down slightly, not to mention there’s an easy workaround:
To get around it, all you need to do is make sure you tween the alpha in the same TweenLite as the tint, like so:
TweenLite.from(mc, 2, {y:mc.y - 140, autoAlpha:0, ease:Elastic.easeOut, delay:i * 0.35});
TweenLite.to(mc, 2, {tint:color, autoAlpha:100, overwrite:false, delay:i * 0.35});
on October 24th, 2007 at 2:18 pm
I’ve found the built in Tween class in AS3 to be inconsistent, I switched to your class, and have yet to have a problem. Excellent work I must say.
on October 26th, 2007 at 12:32 pm
Jack, I totally agree with your reasoning here and have implemented my own ENTER_FRAME event listener and it works great.
The code i’m using:
onStart:function(){container.addEventListener(Event.ENTER_FRAME, render)}, onComplete:function(){container.removeEventListener(Event.ENTER_FRAME, render)}
would you recommend using onStartParams/onCompleteParams to do this instead of the way i’m currently doing it?
Thanks for the help and the speedy reply!
on October 26th, 2007 at 12:40 pm
Brendan, that looks like a great solution! Thanks for sharing.
on October 31st, 2007 at 4:18 am
This thing is totally beautiful =D Will save a lot of work for me, thanx!
on November 19th, 2007 at 4:24 am
Hi Jack,
This thing is absolutely mind blowing!!
I’m trying to use TweenLite to make a masked movieClip that contains many thumbnails to scroll left/right (scrolling gallery).
Is there a way for me to set the codes to tween the movieClip 50 pixels to the left or right instead of moving it to a specific X value on the stage??
In other words, I want to make it so that each time a user click on either the PREV or NEXT button, the movieClip will tween 50 pixels to the left or to the right.
Thanks a million for sharing it!!
on November 19th, 2007 at 8:47 am
Steve, all you need to do is put quotes around your values to make them relative. So to move your MovieClip 50 pixels to the left, you’d do:
TweenLite.to(my_mc, 2, {x:”-50″});
on November 22nd, 2007 at 6:33 am
Hi,
I’m also trying this very good class.
How can I do a relative movement using a variable as value?
TweenLite.to(my_mc, 2, {x:”+offset″});
doesn’t work.
on November 22nd, 2007 at 9:06 am
Ignazio, you can use a variable for relative offsets by coercing it into a String, like:
TweenLite.to(my_mc, 2, {x:String(offset)});
on November 27th, 2007 at 3:43 am
Hi jack, a little question.
Is there any way to set up a sequence of Tweens, and set it up so when the sequence of tweens is finished, it calls another function?
Lets say I have a Sprite full of movieclips which all individually motion-tween into place. when i move to a next section of the website, i have tweens set up that make all of the movieclips fly back out of the screen.
however, i want it so only once every Tween has finished, then the function will be called to load in the next section of the website.
the only thing i can think of is having all my Tweens onComplete each call some function, which counts a number, and when the number hits a certain amount, it calls my load function.
however, is there a more elegant way of doing this, or is that just about it?
on November 27th, 2007 at 8:53 am
“Wondering”, sure, you certainly can set up a sequence of tweens and then call a function when they’re all done. The answer is simpler than you may think. Just use delays and then use the onComplete of the LAST tween in the sequence to trigger the function. Like so:
TweenLite.to(mc1, 2, {x:100});
TweenLite.to(mc1, 1, {y:100, delay:2, overwrite:false});
TweenLite.to(mc1, 3, {x:300, delay:3, overwrite:false, onComplete:onFinish});
function onFinish():void {
trace(”The sequence has finished!”);
}
Or you could use the TweenLite.delayedCall() to call a function after a set amount of time (when you know the tweens will be finished).
Or even better, check out TweenMax’s sequence() and multiSequence() methods! http://www.TweenMax.com
on December 3rd, 2007 at 3:33 pm
Just wondering about bezier tweens. I cant seem to find any information about how to do it or even if they are supported. but everything else seems great and i use tween lite for pretty much everything i do now.
thanks
on December 5th, 2007 at 3:08 pm
Aaron, TweenLite doesn’t support bezier tweens at this point. One of the primary goals of the class is to keep it extremely lightweight, so I have to protect the file size diligently. But I just released TweenMax which does include that feature (and many more). check it out at http://www.TweenMax.com.
on December 14th, 2007 at 5:25 pm
I’m new to tweenlite and have yet to play with it (I will when I get some time), but was wondering if with tweenlite you still need to worry about garbage collection like you do with built-in AS3 tween class or if you put something in to handle this.
Thanks
on December 14th, 2007 at 5:49 pm
Sean, there’s no need to worry about garbage collection. It’s all built into the class. Just tween away to your heart’s content. Check out the speed test I whipped together and crank up the number of tweens - you should see that it scales very well and doesn’t bog down after a while (which you’d expect if there were garbage collection issues).
on December 18th, 2007 at 1:28 pm
Dude,
Thanks so much for this code. I use it on all my projects. I was one that used the Fuse Kit all the time but started doing all my projects in AS3 and this saves the day and works way better.
thanks
on December 21st, 2007 at 12:15 am
got it!, thank you so much jack! TweenLite is amazing and makes things so much easier. esp with. TweenLite.from and the “” relative values. saves me so much more time and brain power when writing code. Its light-weightness is just what i need!
Your the best!
on January 5th, 2008 at 4:05 pm
Jack,
Thanks for the great work; it’s been a life- and project-saver.
on January 15th, 2008 at 4:18 pm
Just wanted to say that you have made my life so much easier - thanks so much for working so hard on it. Now if you can just apply this simplistic logic to textfield creation and formatting… or maybe a component library…
on January 21st, 2008 at 6:07 pm
Jack,
I came across your class while searching around for fixes for the standard Tween class’s! It was a big relief to implement your class! Everything was going so much faster! I really like it and I certainly will use it in other projects too!
I’ve used it for a school-project. This is my first Flash-based website actually. Most of the site is self-study. I’m not a Flash pro (yet) :D I like the project, but I want to move on to bigger/better things!
Annyways, you can take a look when clicking my name, it’s not perfect, but I’m quite happy with it, knowing it was only three months ago that I used Flash for the first time!
Thanks for you great work! I’ve given it further to some friends from school, they were really exited! :)
Jeroen.
on January 22nd, 2008 at 1:53 pm
Bless your heart Jack.
I think this might offer everything I need. I especially like being able to add a delay before starting tweens, and it’s also great to see that this offers built in garbage collection so I don’t have to push my tweens to an array and then clear out the array every time.
on January 29th, 2008 at 9:39 pm
Jack, this is absolutely fantastic, just did some tests of my own, TweenLite as3 is even getting along really well with Papervision3D.
Would you ever consider implementing bezier functionality? Or adding an extended class that supports it? It’s the only reason we would have to need tweener over TweenLite now.
on January 30th, 2008 at 11:23 am
Yep, Matthew, wish granted. Bezier tweening is now available in TweenMax :-)
http://www.TweenMax.com
on February 11th, 2008 at 9:05 pm
I’m glad I found this tweening engine on google, I am new to actionscript and this makes things easy for me, thanks for all your hard work. I wanted to ask about tweening many items in a row. I have 6 movieclips that I tween one right after the other. After the tween completes, am I supposed to remove the tween from memory somehow to make upcoming events run smooth? Like my_mc = null; or something?
on February 11th, 2008 at 11:51 pm
Nope, David, you don’t need to worry about memory management or “garbage collection” tasks with TweenLite. It handles it all for you. Once a tween has finished (actually, within about 2 seconds), it’ll delete itself. Tween with reckless abandon. Go crazy.
on February 20th, 2008 at 11:25 pm
Jack, this is absolutely brilliant. I even feel like going over old project to shift from my earlier engine. Wish I could convince clients to pay me for it.
I was wondering however, how hard it would be to extends this to allow pause and resume of Tweens. Haven’t started looking through your code yet as I’m really busy and more than a little scared to try. But maybe there was a reason you haven’t built this in.
Cheers, and thank you very much.
on February 21st, 2008 at 1:30 am
Well, Ashim, I’ve got good news and bad news for you…
First the bad news: Since one of my top priorities is keeping file size down and speed up, I don’t plan to add pause/resume functionality to TweenLite. A lot of agencies and developers have standardized on TweenLite because it is very lightweight and nimble, so I feel an obligation to diligently guard the file size. Many other tweening engines have suffered from “feature bloat” over time and I’m trying to avoid that.
Now for the good news: TweenMax is exactly what you need. It’s available now at http://www.TweenMax.com
Same syntax, same core. Just a bunch of extra features like bezier tweening, pause/resume, isTweening(myObject), sequencing, and getTweensOf(myObject).
on February 26th, 2008 at 12:40 pm
Great Job! I like TweenLite full hearted and it helps me a lot in craeting a AS3 game! It tooks me 10 mins to read and understand before I make my object moves!!
Thanks for this great engine!! Keep the good work!
on March 4th, 2008 at 10:22 am
is it possible to only put 50% on the tint so that the whole object doesnt change colour?
thanks
on March 13th, 2008 at 5:35 pm
Daniel, TweenLite doesn’t tint to percents, but there are a few options you have:
1) Use TweenFilterLite to colorize it (using the ColorMatrixFilter). See the interactive sample at http://www.tweenfilterlite.com for more info. This can be a really cool effect, and it does allow for various percents (amount).
2) Sign up for Club GreenSock and to get the bonus ColorTransformProxy utility class I created for use in conjunction with TweenLite for tweening all the various ColorTransform-related properties, including redOffset, greenOffset, blueOffset, redMultiplier, greenMultiplier, blueMultiplier, tint, and even tintPercent and brightness!. Sign up at http://blog.greensock.com/club/
on March 17th, 2008 at 12:39 am
Do you know what the loveliest thing is for me? (Beside its great features, free one)?
It is that you keep developing both AS2 & AS3 versions for both TweenLite , TweenFilterLite. This makes me depend on the same amazing twining class in both cases whether I want to develop a AS2 or AS3 project…
Thank you , you are live saver.
on March 18th, 2008 at 8:16 pm
This is extremely useful. I really appreciate for making this available to public.
on March 21st, 2008 at 4:09 am
when applying this code, nothing happens…
this.soundChannel=this.sound.play();
TweenLite.from(this.soundChannel,2.5,{volume:0});
on March 21st, 2008 at 11:06 am
felixz, I’m not exactly sure what your “this.sound” refers to, but I tried this and it worked perfectly:
var snd = new Sound();
snd.load(new URLRequest(”myMusic.mp3″));
this.soundChannel = this.snd.play();
TweenLite.from(this.soundChannel, 5, {volume:0});
Keep in mind, though, that this was a local test and I didn’t add any code that would wait to start the tween until the sound loaded (if you try this over a web connection, there will be some lag time in the MP3 load, and if you start the tween right away it might finish before the sound even loaded)
on March 26th, 2008 at 2:34 am
TWEENLITE is the best thing that happened to me this year!
I JUST LOVE it…. I can’t get enough of it. I am making effects that would’ve been rendered impossible using other tween engines!
on March 28th, 2008 at 6:34 am
Heya!
Just wanted to pop by and thank you for making my life easier. Tweenlite has been with me for a bit over 4 months now, and I’ve loved every second of time spent with its smooth algorithmic self. It makes me wobbly, but in a good way. ;)
So keep up the good work, it is well appreciated!
Cheers
MadTea
on March 28th, 2008 at 1:02 pm
Hey!
I had a quick question about killing tweens.
My problem is, I have TweenLite tweens in my ROLL_OVER, ROLL_OUT, and CLICK events. When I click on my object, it plays the tween inside of my CLICK handler, which has overwrite set to false. When I roll out of my object, the CLICK tween gets overwritten anyway.
I don’t have overwrite: false set on the ROLL_OVER, and ROLL_OUT tweens because I want them to overwrite each other when I roll over or roll out of the object, but I don’t want them overwriting my CLICK tween ever.
What can I do?
Thanks,
Andy
on March 31st, 2008 at 5:08 pm
Yeah, Andrew, that’s a unique challenge. Not impossible to overcome, though. You can selectively remove tweens with the complete() or removeTween() methods. You’d just need to keep track of your TweenLite instances to know which ones to delete. For example, maybe you store the ROLL_OVER and ROLL_OUT tweens in a variable and then kill it when necessary, kinda like:
var rollTween:TweenLite;
function onRollOver($e:MouseEvent):void {
TweenLite.removeTween(rollTween);
rollTween = TweenLite.to(my_mc, 1, {scaleX:1.2, overwrite:false});
}
function onRollOut($e:MouseEvent):void {
TweenLite.removeTween(rollTween);
rollTween = TweenLite.to(my_mc, 1, {scaleX:1, overwrite:false});
}
function onClick($e:MouseEvent):void {
TweenLite.to(my_mc, 1, {scaleX:2});
}
on April 30th, 2008 at 6:06 am
wow. i was just starting to look at the liveDocs on the tween class with a heavy heart when i found this and my day got brighter. If i use this as much as i think i will i’ll be donating for sure. you just saved me a half days head scratching at least. thanks muchly.
on June 8th, 2008 at 12:02 pm
Thanks for the awesome tweening engine :D
I have been using the built-in tween class for ages, but recently (today :) ) changed to TweenLite.
Not only has it been extremely simple to use, but it’s also much faster (which initially surprised me, as I expected the less dynamic built-in class to be faster) and it’s great not having to work with garbage collection e.t.c.
Thanks again,
Bentley
on June 24th, 2008 at 4:07 pm
Man this tween class saved me!!! Actionscript 3 Tween class should be as successful as TweenLite.. really disappointed in adobe…
on July 26th, 2008 at 11:44 am
Hi,
I like the tint feature, but what if I want my movieclip to only tint to a color just a little bit? Like I’m trying to let someone know their mouse is over it. My image turns bloodshot red, I’d like it to be just a tiny bit redder.
on July 27th, 2008 at 2:54 am
Anony, you’ve got several options:
1) Use TweenFilterLite’s (or TweenMax’s) colorMatrixFilter to colorize your clip slightly, like:
TweenFilterLite.to(my_mc, 1, {colorMatrixFilter:{colorize:0xFF0000, amount:0.2}});
2) Use the ColorTransformProxy class I created as a membership benefit for all Club GreenSock members. It has a tintPercent property, so you can control how much of a tint your MovieClip gets. See http://blog.greensock.com/colortransformproxy/ for an interactive demo. Join Club GreenSock at http://blog.greensock.com/club/
on July 30th, 2008 at 6:18 am
This documentation is the best and useful docementation thanks jack.
on August 6th, 2008 at 5:02 am
Hi,
Just wanted to say that I got really used to using the ActionScript 3.0 built-in Tween class and was sceptical at first when I got told it’s better to make the switch to a custom built.
But I had to look it up and when I found this class all I really needed to look at was the syntax and functionality and I was hooked! And the speed increase is just a neat bonus.
Expect some donations in a near future. ;)
on October 3rd, 2008 at 11:39 am
This amazing. Thank you for your hard work and for sharing such an immensely useful tool!
on October 5th, 2008 at 10:47 am
Amazing work. Seriously this has saved me so much time and effort, and I’m sure the same is for hundreds of other developers.
As soon as I get payed for this project I’m working on, I’ll be sure to donate.
on October 23rd, 2008 at 6:02 pm
Wow. Brilliant.
Was getting increasingly unhappy with the bloat of Adobe’s built-in Tweening class. Thanks so much. I get paid at the end of the month, will definately drop a donation in your paypal.
on October 24th, 2008 at 1:24 am
I’m completely sold!!!
I’ve just tried replacing Adobe’s Tween for your TweenLite on some camera movements, and all of the sudden everything rendered ridiculously fast!!!
and I have been blaming away3D for ALL the slugishness… (still, having performance issues with the renderer) but man! it made a huge difference, I don’t care if it’s a few bites heavier and not strict typing, I just saved about 100 lines of code and that was just one of the camera’s Classes.
Oh, by the way… non-coding designers in my office appreciated the speed more than anyone else. Now they hate me for not showing them this sooner.
thanks for all. I’m blown away
on October 27th, 2008 at 6:13 pm
Class is really good. a lot better than Tweener and the documentation is really awesome