Scale

Inherits from:none (Scale is a root class)
  • Version: 1.0
  • Author: Brendan Dawes
  • Classpath: com.dragslidefade.Scale
  • File last modified: Friday, 15 April 2005, 09:08:15
Scale a MovieClip over time
Example:
var s:Scale = new Scale(instanceName,1);
s.scaleClipTo(300,10);

Summary

Constructor
Instance properties
Instance methods

Constructor

Scale

function Scale (
$target:MovieClip, $depth:Number)
Parameters:
target:
the MovieClip to target
depth :
the depth of the MovieClip

Instance properties

onScaleComplete

onScaleComplete
(read,write)
Callback function triggered when the scale has completed

Instance methods

scaleClipTo

function scaleClipTo (
ts:Number, s:Number)
Parameters:
ts:
the amount to scale to
s :
the speed of the tween