background preloader

Actionscript

Facebook Twitter

Effects

Event. Zoneflash. Yazo.net - Accueil. FlashEff | The Flash Animation Tool & Component for Flash CS3. gTween: A New Tweening Engine for AS3 Developers. Posted on August 18, 2008 by Grant Skinner There are a lot of great tweening engines out there. Personally, I’m a huge fan of Jack Doyle’s TweenLite (and he’s been incredibly productive adding new features lately). However, none of these libraries exactly fit the needs of me and my team. I wanted an engine that was small, fast, hugely flexible, and built from the ground up for AS3 and developers. The result was gTween. gTween is a small (4.5kb), fast (1500 instances, 0.5s duration, ~25fps), instance based tweening class, with a huge number of options and capabilities. You can read about core features of gTween below. This is certainly not an attempt to displace any of the existing tween engines. For now, I am releasing this as a public beta. gTween is built for ActionScript 3 developers from the ground up.

Here’s a simple example of setting up a tween, and listening for the complete event. Instances can either be referenced or transient. Examples of referenced versus transient instances:. ByteArray.org > Actionscript 3 Experiments.