Packagepq.multitouch.events
Classpublic class FlickEvent
Inheritance FlickEvent InheritanceBaseGestureEvent

The FlickEvent class represents FLICK event.



Public Properties
 PropertyDefined by
   direction : Direction
[read-only]Indicates the direction of the flick action.
FlickEvent
   vector : Vector2D
[read-only]Indicates the vector of the flick action.
FlickEvent
Public Methods
 MethodDefined by
  
FlickEvent(vect:Vector2D,downx:Number,downy:Number):void
Creates an FlickEvent object that contains information about FlickGesture.
FlickEvent
  
clone():Event
Creates a copy of the FlickEvent object and sets the value of each property to match that of the original.
FlickEvent
  
toString():String
Returns a string that contains properties of the FlickEvent object.
FlickEvent
Public Constants
 ConstantDefined by
   FLICK : String = "FLICK"
[static]Defines the value of the type property of a FLICK event object.
FlickEvent
Property detail
direction property
direction:Direction [read-only]

Indicates the direction of the flick action.

Implementation

public function get direction():Number

vector property
vector:Vector2D [read-only]

Indicates the vector of the flick action.

Implementation

public function get vector():Vector2D

Method detail

clone

()method
public override function clone():Event

Creates a copy of the FlickEvent object and sets the value of each property to match that of the original.

Returns

Event— A new FlickEvent object with property values that match those of the original.
toString ()method
public override function toString():String

Returns a string that contains properties of the FlickEvent object. The string is in the following format: [FlickEvent frameID=value type=value x=value ... eventPhase=value]

Returns

String properties string of the FlickEvent object.
Constant detail
FLICK Constant
public static const FLICK:String

Defines the value of the type property of a FLICK event object.