View Ladislav Zigo's profile on LinkedIn

 
laco.wz.cz
Web



After command:

#include "lmc_tween.as" for ActionScript 2.0 (runs fine on Flash Player 6) or
#include "lmc_tween_as1.as" for ActionScript 1.0 you can use following methods for every MovieClip:

MovieClip.tween()
MovieClip.stopTween()
MovieClip.isTweening()
MovieClip.getTweens()
MovieClip.lockTween()
MovieClip.unlockTween()
MovieClip.isTweenLocked()
MovieClip.alphaTo()

MovieClip.brightnessTo()

MovieClip.brightOffsetTo()
MovieClip.colorTo()
MovieClip.colorTransformTo()
MovieClip.contrastTo()
MovieClip.frameTo()
MovieClip.scaleTo()
MovieClip.slideTo()
MovieClip.rotateTo()

Additional Notes:

If you plan to use this prototypes in your own class, to extend MovieClip class and prevent from compile time errors, you must manully replace the file "MovieClip.as" in your Flash MX 2004\[language]\First Run\Classes directory with file in this location:
WinXP: C:\Documents and Settings\[username]\Local Settings\Application Data\Macromedia\Flash MX 2004\[language]\Configuration\Shared\Zigo
Win9X: C:\Windows\Application Data\Macromedia\Flash MX 2004\[language]\Configuration\Shared\Zigo
Mac: HD:Users:[username]:Library:Application Support:Macromedia Flash MX 2004:[language]:Configuration:Shared:Zigo

Additional Info:

Easing Equations
(c) 2003 Robert Penner, all rights reserved.
This work is subject to the terms in http://www.robertpenner.com/easing_terms_of_use.html



download | examples | installation | custom Easing Tool | links