W3cubDocs

/Haxe Flash

Sprite

package flash.display

extends DisplayObjectContainerInteractiveObjectDisplayObjectEventDispatcher

extended by MovieClip, StageWorker

Available on flash

Constructor

new ()

Variables

buttonMode:Bool

read only dropTarget:DisplayObject

read only graphics:Graphics

hitArea:Sprite

soundTransform:SoundTransform

useHandCursor:Bool

Methods

@:value({ lockCenter : false }) startDrag (lockCenter:Bool = false, ?bounds:Rectangle):Void

@:value({ lockCenter : false }) @:require(flash10_1) startTouchDrag (touchPointID:Int, lockCenter:Bool = false, ?bounds:Rectangle):Void

stopDrag ():Void

@:require(flash10_1) stopTouchDrag (touchPointID:Int):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/display/Sprite.html