Wednesday, July 16, 2008

Transition Effects in AS3.

Flash CS3 (AS3) has incorporated so many transition effects. You can try out the following effect:
  • Zoom
  • Blinds
  • Fly
  • Fade
  • PixelDissolve
  • Squeeze
  • Wipe
  • Rotate
  • Iris
  • Photo
You need to follow following steps.
  • Make a display object (MovieClip/Sprite) on which you want to apply transition effect. Consider myObj is the instance name of that display object.
  • Make an object of TransitionManager class and pass the object as parameter. E.g. var myTransitionManager:TransitionManager = new TransitionManager(myObj);
  • Now apply the desigered transition eg. myTransitionManager.startTransition({type:Blinds, direction:Transition.IN, duration:2, easing:Bounce.easeOut, numStrips:10, dimension:0});

2 comments:

Unknown said...

Thanks Subrat, for giving such important information.....

Anand said...

cool stuff.