Wednesday 17 September 2008

FunkyTransitions class!

introducing FunkyTransition class which aim is to make cool stuffs very quickly and easily.

note you have to include caurina's transitions to use it.
I didn't bother put a right package name to it as it is quite rough for the moment but you can still use it and modify it the way you like.


var rootTransitions = new FunkyTransitions(target);
rootTransitions.dropItAll();

OR

//to make clips explode with center explosion point the center of the screen
rootTransitions.explodeItAll(stage.stageWidth/2,stage.stageHeight/2);


//then to make clips go back to their original positions with as parameter the kind of caurina tweener method to use , see there : http://code.google.com/p/tweener/
rootTransitions.backInPlace("easeOutCirc")





Send me some examples of stuffs you did with it and i'll be happy too.

Source + example


No comments: