Packagecom.whirled.contrib.platformer.display
Classpublic class HoverSprite
InheritanceHoverSprite Inheritance DynamicSprite Inheritance flash.display.Sprite



Public Properties
 PropertyDefined by
 InheriteddisplayHeight : Number
DynamicSprite
 InheriteddisplayWidth : Number
DynamicSprite
Protected Properties
 PropertyDefined by
 Inherited_disp : DisplayObject
DynamicSprite
 Inherited_dynamic : Dynamic
DynamicSprite
 Inherited_hitFilter : ColorMatrixFilter
DynamicSprite
 Inherited_hitFilterIndex : int
DynamicSprite
 Inherited_hitLeft : Number = 0
DynamicSprite
  _hover : Hover
HoverSprite
 Inherited_listeners : Object
DynamicSprite
 Inherited_particleCallback : Function
DynamicSprite
 Inherited_state : int = -1
DynamicSprite
 Inherited_static : Boolean
DynamicSprite
Public Methods
 MethodDefined by
  
HoverSprite(h:Hover, disp:DisplayObject = null)
HoverSprite
 Inherited
forceBack():Boolean
DynamicSprite
 Inherited
DynamicSprite
 Inherited
setParticleCallback(callback:Function):void
DynamicSprite
 Inherited
setStatic(s:Boolean):void
DynamicSprite
 Inherited
showState():int
DynamicSprite
 Inherited
shutdown():void
DynamicSprite
  
update(delta:Number):void
HoverSprite
Protected Methods
 MethodDefined by
 Inherited
bindSoundEffectPlayback(soundEffect:SoundEffect):Function
DynamicSprite
 Inherited
changeState(newState:int):void
DynamicSprite
 Inherited
clearDisp():void
DynamicSprite
 Inherited
findNode(node:String, disp:DisplayObject):DisplayObject
DynamicSprite
 Inherited
generateAttachedEffect(name:String, node:DisplayObjectContainer):void
DynamicSprite
 Inherited
generateEffect(effect:Effect, node:DisplayObject, filter:ColorMatrixFilter = null, scaleY:Number = 1):void
DynamicSprite
  
getStateFrame(state:int):Object
HoverSprite
 Inherited
handleAdded(event:Event):void
DynamicSprite
 Inherited
handleRemoved(event:Event):void
DynamicSprite
 Inherited
onAdded():void
DynamicSprite
 Inherited
onRemoved():void
DynamicSprite
 Inherited
DynamicSprite
 Inherited
playState():void
DynamicSprite
 Inherited
recolorNodes(node:String, disp:DisplayObject, filter:ColorMatrixFilter):void
DynamicSprite
 Inherited
recolorNodesToColor(node:String, disp:DisplayObject, color:int):ColorMatrixFilter
DynamicSprite
 Inherited
registerDispEventListener(event:String, func:Function):void
DynamicSprite
 Inherited
setSoundEffectPlaying(effect:SoundEffect, playing:Boolean):void
DynamicSprite
 Inherited
showHit(filter:ColorMatrixFilter = null, length:Number):Boolean
DynamicSprite
 Inherited
DynamicSprite
Public Constants
 ConstantDefined by
 InheritedALWAYS : int = 1
[static]
DynamicSprite
 InheritedNEVER : int = 2
[static]
DynamicSprite
 InheritedNORMAL : int = 0
[static]
DynamicSprite
 InheritedUNTIL_REMOVED : int = 3
[static]
DynamicSprite
Protected Constants
 ConstantDefined by
  ACTIVE : int = 1
[static]
HoverSprite
 InheritedHIT_LENGTH : Number = 0.1
[static]
DynamicSprite
  HS_STATES : Array
[static]
HoverSprite
  IDLE : int = 0
[static]
HoverSprite
  OFF : int = 3
[static]
HoverSprite
  OVER : int = 2
[static]
HoverSprite
 InheritedSOUND_NORMAL_DISTANCE : Number
[static]
DynamicSprite
Property detail
_hoverproperty
protected var _hover:Hover
Constructor detail
HoverSprite()constructor
public function HoverSprite(h:Hover, disp:DisplayObject = null)Parameters
h:Hover
 
disp:DisplayObject (default = null)
Method detail
getStateFrame()method
protected override function getStateFrame(state:int):ObjectParameters
state:int

Returns
Object
update()method 
public override function update(delta:Number):voidParameters
delta:Number
Constant detail
ACTIVEconstant
protected static const ACTIVE:int = 1
HS_STATESconstant 
protected static const HS_STATES:Array
IDLEconstant 
protected static const IDLE:int = 0
OFFconstant 
protected static const OFF:int = 3
OVERconstant 
protected static const OVER:int = 2