gestureevent.as
来自「英文类手写输入 用as3实现的。何以识别0-9,A-Z这些字。用鼠标在书写区写」· AS 代码 · 共 63 行
AS
63 行
/**
*
*
* GestureEvent
*
* @notice Gesture Event
* @author Didier Brun
* @version 1.0
* @link http://www.bytearray.org/?p=91
*
*/
package com.foxaweb.ui.gesture {
import flash.events.Event;
public class GestureEvent extends Event {
// ------------------------------------------------
//
// ---o static
//
// ------------------------------------------------
public static const START_CAPTURE:String="startCapture";
public static const STOP_CAPTURE:String="stopCapture";
public static const CAPTURING:String="capturing";
public static const GESTURE_MATCH:String="gestureMatch";
public static const NO_MATCH:String="noMatch";
// ------------------------------------------------
//
// ---o properties
//
// ------------------------------------------------
public var datas:*;
public var fiability:uint;
// ------------------------------------------------
//
// ---o constructor
//
// ------------------------------------------------
public function GestureEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false){
super (type,bubbles,cancelable);
}
// ------------------------------------------------
//
// ---o methods
//
// ------------------------------------------------
public override function clone():Event{
return new GestureEvent(type, bubbles, cancelable) as Event;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?