Slide

Inherits from:none (Slide is a root class)
  • Version: 1.0
  • Author: Brendan Dawes
  • Classpath: com.dragslidefade.Slide
  • File last modified: Friday, 15 April 2005, 09:24:20
Move a MovieClip to a specified x and y over time
Example:
var s:Slide = new Slide(instanceName,1);
s.moveClipTo(100,300,5);

Summary

Constructor
Instance methods

Constructor

Slide

function Slide (
$target:MovieClip, $depth:Number)
Parameters:
target:
the MovieClip you want to move
depth :
the depth of the MovieClip

Instance methods

moveClipTo

function moveClipTo (
x:Number, y:Number, s:Number)
Parameters:
x :
the x position to move to
y :
the y position to move to
the:
speed of the movement - higher numbers are slower