Rotate
Inherits from:none (Rotate is a root class)
- Version: 1.0
- Author: Brendan Dawes
- Classpath: com.dragslidefade.Rotate
- File last modified: Friday, 15 April 2005, 09:04:09
Rotates a MovieClip over time
Example:
var r:Rotate = new Rotate(instanceName,1);
r.rotateClipTo(180,6);
Summary
Constructor
Rotate
function Rotate (
$target:MovieClip,
$depth:Number)
Parameters:
target:
the MovieClip to perform the rotation on
depth :
the depth of the MovieClip
Instance properties
onRotateComplete
onRotateComplete:Function
Callback function triggered when rotation has completed
Instance methods
rotateClipTo
function rotateClipTo (
r:Number,
s:Number)
Parameters:
r:
the rotation to tween to
s:
the number of frames taken to do the rotation