1 |
|
2 |
|
3 | var touchEvent:TouchEvent;
|
4 | var list:TouchList;
|
5 | var touch:Touch;
|
6 |
|
7 | list = touchEvent.touches;
|
8 | list = touchEvent.targetTouches;
|
9 | list = touchEvent.changedTouches;
|
10 |
|
11 | var flag:boolean;
|
12 | flag = touchEvent.altKey;
|
13 | flag = touchEvent.metaKey;
|
14 | flag = touchEvent.ctrlKey;
|
15 | flag = touchEvent.shiftKey;
|
16 |
|
17 | var len:number = list.length;
|
18 | touch = list.item(0);
|
19 | touch == list[0];
|
20 |
|
21 | var x: number;
|
22 | var y: number;
|
23 | var id: number;
|
24 |
|
25 | id = touch.identifier;
|
26 | x = touch.screenX;
|
27 | y = touch.screenY;
|
28 | x = touch.clientX;
|
29 | y = touch.clientY;
|
30 | x = touch.pageX;
|
31 | y = touch.pageY;
|
32 |
|
33 | var target:EventTarget;
|
34 | target = touch.target;
|