Flash Transitions

VERSION: 2.1

[COLOR=Green]Where its from: [/COLOR]Here’s a simple flash transition that mimics a “falling blocks” effect. I’ve used this effect in my 2007 year end [offline] portfolio. I saw this clever effect on one of the adobe developers sites, unfortunately I can’t seem to find - If you do know the site please post a link - thanks in advance.

[COLOR=Green]About the code: [/COLOR]Anyway the code is original and I’ve been trying to improve it and hopefully add more transitions over time. I’ve taken a que form from TweenLite to make coding the transitions simple as possible.

[COLOR=Green]How it works: [/COLOR]The construct takes a DisplayObject as a parameter, it then creates a grid and copies the BitmapData to smaller individual Bitmap objects and stores these in an Array. The Array is randomized and a Tween is applied to each object in the Array.

[SIZE=3][COLOR=Red]EXAMPLE[/COLOR][/SIZE]
[SIZE=3][COLOR=RoyalBlue]SOURCE [/COLOR][/SIZE]

The class has gone through significant changes with more control over the effect also all files are now hosted on http://www.deviantart.com/ .

**[COLOR=SeaGreen]CHANGES: [/COLOR]**The class now accepts a display object as a parameter and does the conversion automatically.
Class logic is a-lot cleaner and faster.
Reverted to using onComplete:Function and onCompleteParams:Array since the current class structure is not conducive to using events, also all logic including creation -> animation _> destruction are kept within the class.

[COLOR=SeaGreen]NOTES[/COLOR]: TweenLite and [URL=“http://blog.greensock.com/tweenfilterliteas3/”]TweenFilterLite are needed for this effect

yeah this one’s great… i have tried this one. im having firefox and it works good. it looks great and i can see the effect. great work!

freaking Kool.

How do I use your TweenLite class?

[QUOTE=tkmk;2336949]How do I use your TweenLite class?[/QUOTE]

That class and others were made by Jack at GreenSock (AS2/AS3 versions)

TweenLite
http://blog.greensock.com/tweenliteas2/
TweenFilterLite
http://blog.greensock.com/tweenfilterliteas2/
TweenMax
http://blog.greensock.com/tweenmaxas2/

You can fiind all the info you need there.

[QUOTE=EViL-Bites;2285711][COLOR=SeaGreen]NOTES[/COLOR]: TweenLite and [URL=“http://blog.greensock.com/tweenfilterliteas3/”]TweenFilterLite are needed for this effect[/QUOTE]

it was also linked at the bottom of the first post :wink: