Packageardisia.managers.cursorManager.data
Classpublic class CursorData
InheritanceCursorData Inheritance Object

Defines a cursor for use by the CursorManager class. Used to define both native cursors and falls back to fake cursors displayed by the flash player in the case that the user is running an old version of the flash player that does not support native cursors.

These objects are not typically created directly, but rather by the CursorManager.registerCursor() method.



Public Properties
 PropertyDefined By
  assets : Vector.<BitmapData>
A vector of the BitmapData used to define the cursor.
CursorData
  frameRate : uint
The framerate to animate the assets.
CursorData
  hotSpot : Point
Defines the point relative to the upper-left origin that defines the cursor's hot region.
CursorData
  name : String
The name to associate with this cursor.
CursorData
Public Methods
 MethodDefined By
  
CursorData(name:String, hotSpot:Point, assets:Vector.<BitmapData>, frameRate:uint)
CursorData
Property Detail
assetsproperty
public var assets:Vector.<BitmapData>

A vector of the BitmapData used to define the cursor. A typical cursor uses a BitmapData instance. However, animated cursors use multiple instances.

The default value is undefined.

frameRateproperty 
public var frameRate:uint

The framerate to animate the assets. Only relevant if assets' length is greater than one.

The default value is undefined.

hotSpotproperty 
public var hotSpot:Point

Defines the point relative to the upper-left origin that defines the cursor's hot region.

The default value is undefined.

nameproperty 
public var name:String

The name to associate with this cursor. Only one name allowed per cursor.

The default value is undefined.

Constructor Detail
CursorData()Constructor
public function CursorData(name:String, hotSpot:Point, assets:Vector.<BitmapData>, frameRate:uint)



Parameters
name:String
 
hotSpot:Point
 
assets:Vector.<BitmapData>
 
frameRate:uint