Archive for November, 2009


TweenLite < Tweening Platform v11 0

Posted on November 9, 2009 by anton.

Just been implementing TweenLite in to a current project here at Cube (more at a later date) and updated our source files to find TweenLite has been superseded by the fantastic Teening Platform v11 engine, the GreenSock stuff just gets better and better! if your in need of a small and extremely fast tweening engine you should deffinitely check out http://blog.greensock.com/ it’s packed full of features!

The particular part I like is the queueing system using TimelineLite, it’s so simple to get up and running but has a wealth of features to create incredibly complex queues of tweens (for more info check: http://blog.greensock.com/timelinelite):

1
2
3
4
5
6
7
8
9
10
11
12
// create a tween queue
private var tweenQueue:TimelineLite = new TimelineLite({onComplete:queueComplete});
private function queueComplete():void
{
     trace("queue complete");
}
 
// populate it with tweens
for(var i:int = 0; i < 10; i++)
{
    tweenQueue.append(new TweenLite(desiredMC, 1, {x:i*50, y:100}));
}


↑ Top