com.bumpslide.util.FTween
FTween FTween is a target-based tweening utility.
Simple usage: FTween.ease( my_mc, '_x', 200 );
Tweening multiple properties: FTween.spring( my_mc, ['_x', '_y'], [_xmouse, _ymouse]);
Adjusting config options: var ft:FTween = FTween.ease( my_mc, '_rotation', 45.6 ); ft.KEEP_ROUNDED = false;
Stopping Tweens: FTween.stopTweening( my_mc ); // stops all tweens FTween.stopTweening( my_mc, '_x' ); // stops _x tweens see com.bumpslide.example.ftween for more examples
MIN_DELTAMIN_VELOCKEEP_ROUNDEDUSE_FRAMESUPDATE_MSMAX_TWEEN_TIMEpublic addListener:Functionpublic removeListener:Functionstatic public function ease(mc:MovieClip, props, targets, easeFactor:Number):FTweenTweens movie clips properties using simple easing
mc | |
easeFactor |
static public function spring(mc:MovieClip, props, targets, springValue:Number, friction:Number)Tweens using a spring behavior
mc | |
springValue | |
friction |
static public function smooth(mc:MovieClip, props, targets, easeFactor:Number, maxVeloc:Number)Smooth easing for scrollbars and such Uses easing, but caps the speed at a given max.
mc | |
easeFactor |