.: Light Transition Class  Add to Technorati Favorites

The Litr Class (reads Lighter) is an AS2 class developed to simplify property tweening along time or frames. It’s possible to create tweenings of:

native properties like _x,_y or _xscale for MovieClip.

text for TextField.

even properties created during execution in an Object instance.

other types of special tweenings.

Besides that, it allow to create complex filter effects like Glow,Blur and others like the ones that uses the ColorFilterMatrix feature of Flash.

The class has support for tween commands passed with 2 methods:

Strings (using the Tween String Syntax) wich is usefull for XML Based Tween editing for example (it will not need any runtime parsing of the data).

Objects passing the parameter inside it’s structure. In this version 2 special tweens are included too, one is the Catmull-Rom curve path tweening and the Wave Tweening that allow to apply oscilation functions to properties.

This page will cover information about how to use most of it’s features in order to achieve good results with nice performance in your website.

If you want to skip this and get to the dirty part, just head to Google Code and grab your version of the Litr Class. Click the link below.

GoogleCode Lighter Project

If you find any issue in it’s use please report back in the Project Page what happened and I’ll try to fix it in later versions.

Send any issue or suggestion to my contact mail [ eduardo@thelaborat.org ]!

Below are the tutorials in order to start using the class feature. Enjoy!

Litr Tutorials

  1. Basic Tweening
  2. Special FX Tweening
  3. Path Tween
  4. Wave Tweening
  5. Tween Callbacks
  6. Editing Tweens