/** * Cursor movie clip that follows the mouse * @usage _root.attachMovie("Cursor", "myCursor", 0); */ class com.senocular.Cursor extends MovieClip { /** * Determines whether or not this cursor movie clip is visible or not * @see onFade * @see fadeOut */ public var visible:Boolean = true; /** * Size of this cursor where 100 is 100% */ public var scale:Number = 100; /** * Unique identifier automatically provided for this cursor */ public var id:String; /** * Called when this cursor fades out due to inactivity * @param position The position of this cursor when the fading began * @see visible * @see fadeOut */ public function onFade(position:Object):Void {} /** * Fades this cursor out hiding it from view * @param time Duration in milliseconds to fade * @param follow Determines whether or not the cursor should continue following the mosue when fading * @see visible * @see onFade */ public function fadeOut(time:Number, follow:Boolean):Void { // function body } /** * Provides the current position of this cursor movie clips * @return A point with x and y positions */ public function getPosition(Void):Object { // function body } }