Popup
Inherits from:none (Popup is a root class)
- Version: 1.0
- Author: Brendan Dawes
- Classpath: com.dragslidefade.Popup
- File last modified: Friday, 15 April 2005, 08:54:12
Simulated pop-up book type slider that controls a MovieClip timeline
Example:
var p:Popup = new Popup(instanceNameOfSlider,1,instanceNameOfSlider._x,instanceNameOfSlider._y,0,100,instanceNameOfTarget);
Constructor
Popup
function Popup (
$target:MovieClip,
$depth:Number,
$left:Number,
$top:Number,
$right:Number,
$bottom:Number,
$targetClip:MovieClip)
Parameters:
target :
the MovieClip to use as a slider
depth :
the depth of the MovieClip
left :
the starting x position
top :
the starting y position
right :
the maximum amount to move right, in pixels
bottom :
the maximum amount to move down, in pixels
targetClip:
the MovieClip you want to control
Instance methods
dragMe
function dragMe (
left:Number,
top:Number,
right:Number,
bottom:Number,
targetClip:MovieClip)
releaseMe
function releaseMe (
)