BlurTween

Inherits from:none (BlurTween is a root class)
  • Version: 1.0
  • Author: Brendan Dawes
  • Classpath: com.dragslidefade.BlurTween
  • File last modified: Saturday, 11 February 2006, 14:20:15
Blurs and fades a movieclip over time
Example:
// example syntax
var b:BlurTween = new BlurTween(target);
b.doBlur(blurFrom,blurTo,alphaFrom,alphaTo,speed);

Summary

Constructor
Instance properties
Instance methods

Constructor

BlurTween

function BlurTween (
t:MovieClip)
Parameters:
target:
the MovieClip you want to target

Instance properties

onComplete

onComplete:Function
Callback function triggered when blur has completed

Instance methods

doBlur

function doBlur (
blurFrom:Number, blurTo:Number, alphaFrom:Number, alphaTo:Number, speed:Number)
Parameters:
blurFrom :
the start amount of blur
blurTo :
the end amount of blur
alphaFrom:
the start amount of alpha
alphaTo :
the end amount of alpha
speed :
the speed of the transition is milliseconds