MousePositionPanel
Usage
var mpp:MousePositionPanel = new MousePositionPanel($holder, $mc, $mask, $axis, $moveType, $speed);
Description
Creates a new instance of the MousePositionPanel class.
Parameters
- $holder
- The movie clip (or timeline) that holds the content and mask clips
- $mc
- The movie clip to be scrolled
- $mask
- The movie clip that is used as the mask for the scrollable content area
- $axis
- A string value of either "x" or "y" that determines what axis the content is scrolled along
- $moveType
- A string, "withMouse" (moves with the mouse) or "againstMouse" (moves away from the mouse)
- $speed
- A number that represents how fast to scroll the clip