Jelajahi Sumber

fp 10.1 support

Nicolas Cannasse 14 tahun lalu
induk
melakukan
94dd680a94
100 mengubah file dengan 886 tambahan dan 14 penghapusan
  1. 5 0
      std/flash9/accessibility/ISearchableText.hx
  2. 6 0
      std/flash9/accessibility/ISimpleTextSelection.hx
  3. 7 0
      std/flash9/automation/ActionGenerator.hx
  4. 6 0
      std/flash9/automation/AutomationAction.hx
  5. 6 0
      std/flash9/automation/Configuration.hx
  6. 8 0
      std/flash9/automation/KeyboardAutomationAction.hx
  7. 16 0
      std/flash9/automation/MouseAutomationAction.hx
  8. 12 0
      std/flash9/automation/StageCapture.hx
  9. 8 0
      std/flash9/automation/StageCaptureEvent.hx
  10. 1 0
      std/flash9/desktop/ClipboardFormats.hx
  11. 7 0
      std/flash9/display/ColorCorrection.hx
  12. 7 0
      std/flash9/display/ColorCorrectionSupport.hx
  13. 7 0
      std/flash9/display/FocusDirection.hx
  14. 1 0
      std/flash9/display/Loader.hx
  15. 2 0
      std/flash9/display/LoaderInfo.hx
  16. 5 0
      std/flash9/display/NativeMenu.hx
  17. 6 0
      std/flash9/display/NativeMenuItem.hx
  18. 2 0
      std/flash9/display/Sprite.hx
  19. 1 0
      std/flash9/display/Stage.hx
  20. 1 0
      std/flash9/display/StageDisplayState.hx
  21. 7 0
      std/flash9/errors/DRMManagerError.hx
  22. 10 0
      std/flash9/events/AccelerometerEvent.hx
  23. 14 0
      std/flash9/events/DRMAuthenticateEvent.hx
  24. 9 0
      std/flash9/events/DRMAuthenticationCompleteEvent.hx
  25. 9 0
      std/flash9/events/DRMAuthenticationErrorEvent.hx
  26. 5 0
      std/flash9/events/DRMCustomProperties.hx
  27. 10 0
      std/flash9/events/DRMErrorEvent.hx
  28. 10 0
      std/flash9/events/DRMStatusEvent.hx
  29. 2 1
      std/flash9/events/ErrorEvent.hx
  30. 14 0
      std/flash9/events/GeolocationEvent.hx
  31. 15 0
      std/flash9/events/GestureEvent.hx
  32. 8 0
      std/flash9/events/GesturePhase.hx
  33. 3 0
      std/flash9/events/HTTPStatusEvent.hx
  34. 3 1
      std/flash9/events/IMEEvent.hx
  35. 1 1
      std/flash9/events/IOErrorEvent.hx
  36. 1 1
      std/flash9/events/KeyboardEvent.hx
  37. 10 0
      std/flash9/events/PressAndTapGestureEvent.hx
  38. 4 4
      std/flash9/events/ProgressEvent.hx
  39. 1 1
      std/flash9/events/SecurityErrorEvent.hx
  40. 28 0
      std/flash9/events/TouchEvent.hx
  41. 14 0
      std/flash9/events/TransformGestureEvent.hx
  42. 7 0
      std/flash9/events/UncaughtErrorEvent.hx
  43. 5 0
      std/flash9/events/UncaughtErrorEvents.hx
  44. 2 0
      std/flash9/media/Camera.hx
  45. 3 0
      std/flash9/media/Microphone.hx
  46. 1 0
      std/flash9/media/Sound.hx
  47. 1 1
      std/flash9/net/FileReference.hx
  48. 25 0
      std/flash9/net/GroupSpecifier.hx
  49. 2 0
      std/flash9/net/LocalConnection.hx
  50. 26 0
      std/flash9/net/NetGroup.hx
  51. 14 0
      std/flash9/net/NetGroupInfo.hx
  52. 6 0
      std/flash9/net/NetGroupReceiveMode.hx
  53. 6 0
      std/flash9/net/NetGroupReplicationStrategy.hx
  54. 6 0
      std/flash9/net/NetGroupSendMode.hx
  55. 7 0
      std/flash9/net/NetGroupSendResult.hx
  56. 20 0
      std/flash9/net/NetStream.hx
  57. 7 0
      std/flash9/net/NetStreamAppendBytesAction.hx
  58. 2 1
      std/flash9/net/NetStreamInfo.hx
  59. 25 0
      std/flash9/net/NetStreamMulticastInfo.hx
  60. 1 0
      std/flash9/net/NetStreamPlayOptions.hx
  61. 4 0
      std/flash9/net/URLRequestMethod.hx
  62. 6 0
      std/flash9/net/drm/AuthenticationMethod.hx
  63. 7 0
      std/flash9/net/drm/DRMAuthenticationContext.hx
  64. 10 0
      std/flash9/net/drm/DRMContentData.hx
  65. 11 0
      std/flash9/net/drm/DRMManager.hx
  66. 20 0
      std/flash9/net/drm/DRMManagerSession.hx
  67. 5 0
      std/flash9/net/drm/DRMModuleCycleProvider.hx
  68. 8 0
      std/flash9/net/drm/DRMPlaybackTimeWindow.hx
  69. 5 0
      std/flash9/net/drm/DRMURLDownloadContext.hx
  70. 11 0
      std/flash9/net/drm/DRMVoucher.hx
  71. 7 0
      std/flash9/net/drm/DRMVoucherDownloadContext.hx
  72. 7 0
      std/flash9/net/drm/DRMVoucherStoreContext.hx
  73. 7 0
      std/flash9/net/drm/LoadVoucherSetting.hx
  74. 8 0
      std/flash9/net/drm/VoucherAccessInfo.hx
  75. 1 0
      std/flash9/printing/PrintJob.hx
  76. 1 0
      std/flash9/sampler/NewObjectSample.hx
  77. 1 0
      std/flash9/sampler/StackFrame.hx
  78. 8 0
      std/flash9/sensors/Accelerometer.hx
  79. 8 0
      std/flash9/sensors/Geolocation.hx
  80. 4 0
      std/flash9/system/Capabilities.hx
  81. 3 0
      std/flash9/system/IME.hx
  82. 2 0
      std/flash9/system/LoaderContext.hx
  83. 3 0
      std/flash9/system/Security.hx
  84. 7 0
      std/flash9/system/System.hx
  85. 7 0
      std/flash9/system/SystemUpdater.hx
  86. 6 0
      std/flash9/system/SystemUpdaterType.hx
  87. 7 0
      std/flash9/system/TouchscreenType.hx
  88. 1 0
      std/flash9/text/engine/FontDescription.hx
  89. 3 0
      std/flash9/text/engine/SpaceJustifier.hx
  90. 2 0
      std/flash9/text/engine/TextBlock.hx
  91. 1 0
      std/flash9/text/engine/TextLine.hx
  92. 9 0
      std/flash9/text/ime/CompositionAttributeRange.hx
  93. 14 0
      std/flash9/text/ime/IIMEClient.hx
  94. 2 1
      std/flash9/ui/ContextMenu.hx
  95. 1 2
      std/flash9/ui/ContextMenuItem.hx
  96. 197 0
      std/flash9/ui/Keyboard.hx
  97. 7 0
      std/flash9/ui/KeyboardType.hx
  98. 1 0
      std/flash9/ui/Mouse.hx
  99. 9 0
      std/flash9/ui/Multitouch.hx
  100. 7 0
      std/flash9/ui/MultitouchInputMode.hx

+ 5 - 0
std/flash9/accessibility/ISearchableText.hx

@@ -0,0 +1,5 @@
+package flash.accessibility;
+
+@:require(flash10_1) extern interface ISearchableText {
+	var searchText(default,null) : String;
+}

+ 6 - 0
std/flash9/accessibility/ISimpleTextSelection.hx

@@ -0,0 +1,6 @@
+package flash.accessibility;
+
+@:require(flash10_1) extern interface ISimpleTextSelection {
+	var selectionActiveIndex(default,null) : Int;
+	var selectionAnchorIndex(default,null) : Int;
+}

+ 7 - 0
std/flash9/automation/ActionGenerator.hx

@@ -0,0 +1,7 @@
+package flash.automation;
+
+@:require(flash10_1) extern class ActionGenerator {
+	function new() : Void;
+	function generateAction(action : AutomationAction) : Void;
+	function generateActions(a : Array<Dynamic>) : Void;
+}

+ 6 - 0
std/flash9/automation/AutomationAction.hx

@@ -0,0 +1,6 @@
+package flash.automation;
+
+@:require(flash10_1) extern class AutomationAction {
+	var type : String;
+	function new() : Void;
+}

+ 6 - 0
std/flash9/automation/Configuration.hx

@@ -0,0 +1,6 @@
+package flash.automation;
+
+@:require(flash10_1) extern class Configuration {
+	function new() : Void;
+	static var testAutomationConfiguration(default,null) : String;
+}

+ 8 - 0
std/flash9/automation/KeyboardAutomationAction.hx

@@ -0,0 +1,8 @@
+package flash.automation;
+
+@:require(flash10_1) extern class KeyboardAutomationAction extends AutomationAction {
+	var keyCode : UInt;
+	function new(type : String, keyCode : UInt = 0) : Void;
+	static var KEY_DOWN : String;
+	static var KEY_UP : String;
+}

+ 16 - 0
std/flash9/automation/MouseAutomationAction.hx

@@ -0,0 +1,16 @@
+package flash.automation;
+
+@:require(flash10_1) extern class MouseAutomationAction extends AutomationAction {
+	var delta : Int;
+	var stageX : Float;
+	var stageY : Float;
+	function new(type : String, stageX : Float = 0, stageY : Float = 0, delta : Int = 0) : Void;
+	static var MIDDLE_MOUSE_DOWN : String;
+	static var MIDDLE_MOUSE_UP : String;
+	static var MOUSE_DOWN : String;
+	static var MOUSE_MOVE : String;
+	static var MOUSE_UP : String;
+	static var MOUSE_WHEEL : String;
+	static var RIGHT_MOUSE_DOWN : String;
+	static var RIGHT_MOUSE_UP : String;
+}

+ 12 - 0
std/flash9/automation/StageCapture.hx

@@ -0,0 +1,12 @@
+package flash.automation;
+
+@:require(flash10_1) extern class StageCapture extends flash.events.EventDispatcher {
+	var clipRect : flash.geom.Rectangle;
+	var fileNameBase : String;
+	function new() : Void;
+	function cancel() : Void;
+	function capture(type : String) : Void;
+	static var CURRENT : String;
+	static var MULTIPLE : String;
+	static var NEXT : String;
+}

+ 8 - 0
std/flash9/automation/StageCaptureEvent.hx

@@ -0,0 +1,8 @@
+package flash.automation;
+
+@:require(flash10_1) extern class StageCaptureEvent extends flash.events.Event {
+	var checksum(default,null) : UInt;
+	var url(default,null) : String;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?url : String, checksum : UInt = 0) : Void;
+	static var CAPTURE : String;
+}

+ 1 - 0
std/flash9/desktop/ClipboardFormats.hx

@@ -4,6 +4,7 @@ extern enum ClipboardFormats {
 	AIR_PREFIX;
 	BITMAP_FORMAT;
 	FILE_LIST_FORMAT;
+	FILE_PROMISE_LIST_FORMAT;
 	FLASH_PREFIX;
 	HTML_FORMAT;
 	REFERENCE_PREFIX;

+ 7 - 0
std/flash9/display/ColorCorrection.hx

@@ -0,0 +1,7 @@
+package flash.display;
+
+extern enum ColorCorrection {
+	DEFAULT;
+	OFF;
+	ON;
+}

+ 7 - 0
std/flash9/display/ColorCorrectionSupport.hx

@@ -0,0 +1,7 @@
+package flash.display;
+
+extern enum ColorCorrectionSupport {
+	DEFAULT_OFF;
+	DEFAULT_ON;
+	UNSUPPORTED;
+}

+ 7 - 0
std/flash9/display/FocusDirection.hx

@@ -0,0 +1,7 @@
+package flash.display;
+
+extern enum FocusDirection {
+	BOTTOM;
+	NONE;
+	TOP;
+}

+ 1 - 0
std/flash9/display/Loader.hx

@@ -3,6 +3,7 @@ package flash.display;
 extern class Loader extends DisplayObjectContainer {
 	var content(default,null) : DisplayObject;
 	var contentLoaderInfo(default,null) : LoaderInfo;
+	@:require(flash10_1) var uncaughtErrorEvents(default,null) : flash.events.UncaughtErrorEvents;
 	function new() : Void;
 	function close() : Void;
 	function load(request : flash.net.URLRequest, ?context : flash.system.LoaderContext) : Void;

+ 2 - 0
std/flash9/display/LoaderInfo.hx

@@ -11,6 +11,7 @@ extern class LoaderInfo extends flash.events.EventDispatcher {
 	var contentType(default,null) : String;
 	var frameRate(default,null) : Float;
 	var height(default,null) : Int;
+	@:require(flash10_1) var isURLInaccessible(default,null) : Bool;
 	var loader(default,null) : Loader;
 	var loaderURL(default,null) : String;
 	var parameters(default,null) : Dynamic<String>;
@@ -18,6 +19,7 @@ extern class LoaderInfo extends flash.events.EventDispatcher {
 	var sameDomain(default,null) : Bool;
 	var sharedEvents(default,null) : flash.events.EventDispatcher;
 	var swfVersion(default,null) : SWFVersion;
+	@:require(flash10_1) var uncaughtErrorEvents(default,null) : flash.events.UncaughtErrorEvents;
 	var url(default,null) : String;
 	var width(default,null) : Int;
 	static function getLoaderInfoByDefinition(object : Dynamic) : LoaderInfo;

+ 5 - 0
std/flash9/display/NativeMenu.hx

@@ -0,0 +1,5 @@
+package flash.display;
+
+@:require(flash10_1) extern class NativeMenu extends flash.events.EventDispatcher {
+	function new() : Void;
+}

+ 6 - 0
std/flash9/display/NativeMenuItem.hx

@@ -0,0 +1,6 @@
+package flash.display;
+
+@:require(flash10_1) extern class NativeMenuItem extends flash.events.EventDispatcher {
+	var enabled : Bool;
+	function new() : Void;
+}

+ 2 - 0
std/flash9/display/Sprite.hx

@@ -9,5 +9,7 @@ extern class Sprite extends DisplayObjectContainer {
 	var useHandCursor : Bool;
 	function new() : Void;
 	function startDrag(lockCenter : Bool = false, ?bounds : flash.geom.Rectangle) : Void;
+	@:require(flash10_1) function startTouchDrag(touchPointID : Int, lockCenter : Bool = false, ?bounds : flash.geom.Rectangle) : Void;
 	function stopDrag() : Void;
+	@:require(flash10_1) function stopTouchDrag(touchPointID : Int) : Void;
 }

+ 1 - 0
std/flash9/display/Stage.hx

@@ -16,6 +16,7 @@ extern class Stage extends DisplayObjectContainer {
 	var stageFocusRect : Bool;
 	var stageHeight : Int;
 	var stageWidth : Int;
+	@:require(flash10_1) var wmodeGPU(default,null) : Bool;
 	function invalidate() : Void;
 	function isFocusInaccessible() : Bool;
 }

+ 1 - 0
std/flash9/display/StageDisplayState.hx

@@ -2,5 +2,6 @@ package flash.display;
 
 extern enum StageDisplayState {
 	FULL_SCREEN;
+	FULL_SCREEN_INTERACTIVE;
 	NORMAL;
 }

+ 7 - 0
std/flash9/errors/DRMManagerError.hx

@@ -0,0 +1,7 @@
+package flash.errors;
+
+@:require(flash10_1) extern class DRMManagerError extends Error {
+	var subErrorID(default,null) : Int;
+	function new(message : String, id : Int, subErrorID : Int) : Void;
+	function toString() : String;
+}

+ 10 - 0
std/flash9/events/AccelerometerEvent.hx

@@ -0,0 +1,10 @@
+package flash.events;
+
+@:require(flash10_1) extern class AccelerometerEvent extends Event {
+	var accelerationX : Float;
+	var accelerationY : Float;
+	var accelerationZ : Float;
+	var timestamp : Float;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, timestamp : Float = 0, accelerationX : Float = 0, accelerationY : Float = 0, accelerationZ : Float = 0) : Void;
+	static var UPDATE : String;
+}

+ 14 - 0
std/flash9/events/DRMAuthenticateEvent.hx

@@ -0,0 +1,14 @@
+package flash.events;
+
+@:require(flash10_1) extern class DRMAuthenticateEvent extends Event {
+	var authenticationType(default,null) : String;
+	var header(default,null) : String;
+	var netstream(default,null) : flash.net.NetStream;
+	var passwordPrompt(default,null) : String;
+	var urlPrompt(default,null) : String;
+	var usernamePrompt(default,null) : String;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?header : String, ?userPrompt : String, ?passPrompt : String, ?urlPrompt : String, ?authenticationType : String, ?netstream : flash.net.NetStream) : Void;
+	static var AUTHENTICATION_TYPE_DRM : String;
+	static var AUTHENTICATION_TYPE_PROXY : String;
+	static var DRM_AUTHENTICATE : String;
+}

+ 9 - 0
std/flash9/events/DRMAuthenticationCompleteEvent.hx

@@ -0,0 +1,9 @@
+package flash.events;
+
+@:require(flash10_1) extern class DRMAuthenticationCompleteEvent extends Event {
+	var domain : String;
+	var serverURL : String;
+	var token : flash.utils.ByteArray;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inServerURL : String, ?inDomain : String, ?inToken : flash.utils.ByteArray) : Void;
+	static var AUTHENTICATION_COMPLETE : String;
+}

+ 9 - 0
std/flash9/events/DRMAuthenticationErrorEvent.hx

@@ -0,0 +1,9 @@
+package flash.events;
+
+@:require(flash10_1) extern class DRMAuthenticationErrorEvent extends ErrorEvent {
+	var domain : String;
+	var serverURL : String;
+	var subErrorID : Int;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inDetail : String, inErrorID : Int = 0, inSubErrorID : Int = 0, ?inServerURL : String, ?inDomain : String) : Void;
+	static var AUTHENTICATION_ERROR : String;
+}

+ 5 - 0
std/flash9/events/DRMCustomProperties.hx

@@ -0,0 +1,5 @@
+package flash.events;
+
+@:require(flash10_1) extern class DRMCustomProperties {
+	function new() : Void;
+}

+ 10 - 0
std/flash9/events/DRMErrorEvent.hx

@@ -0,0 +1,10 @@
+package flash.events;
+
+@:require(flash10_1) extern class DRMErrorEvent extends ErrorEvent {
+	var contentData : flash.net.drm.DRMContentData;
+	var drmUpdateNeeded(default,null) : Bool;
+	var subErrorID(default,null) : Int;
+	var systemUpdateNeeded(default,null) : Bool;
+	function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inErrorDetail : String, inErrorCode : Int = 0, insubErrorID : Int = 0, ?inMetadata : flash.net.drm.DRMContentData, inSystemUpdateNeeded : Bool = false, inDrmUpdateNeeded : Bool = false) : Void;
+	static var DRM_ERROR : String;
+}

+ 10 - 0
std/flash9/events/DRMStatusEvent.hx

@@ -0,0 +1,10 @@
+package flash.events;
+
+@:require(flash10_1) extern class DRMStatusEvent extends Event {
+	var contentData : flash.net.drm.DRMContentData;
+	var isLocal : Bool;
+	var offlineLeasePeriod(default,null) : UInt;
+	var voucher : flash.net.drm.DRMVoucher;
+	function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inMetadata : flash.net.drm.DRMContentData, ?inVoucher : flash.net.drm.DRMVoucher, inLocal : Bool = false) : Void;
+	static var DRM_STATUS : String;
+}

+ 2 - 1
std/flash9/events/ErrorEvent.hx

@@ -1,6 +1,7 @@
 package flash.events;
 
 extern class ErrorEvent extends TextEvent {
-	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String) : Void;
+	@:require(flash10_1) var errorID(default,null) : Int;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, id : Int = 0) : Void;
 	static var ERROR : String;
 }

+ 14 - 0
std/flash9/events/GeolocationEvent.hx

@@ -0,0 +1,14 @@
+package flash.events;
+
+@:require(flash10_1) extern class GeolocationEvent extends Event {
+	var altitude : Float;
+	var heading : Float;
+	var horizontalAccuracy : Float;
+	var latitude : Float;
+	var longitude : Float;
+	var speed : Float;
+	var timestamp : Float;
+	var verticalAccuracy : Float;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, latitude : Float = 0, longitude : Float = 0, altitude : Float = 0, hAccuracy : Float = 0, vAccuracy : Float = 0, speed : Float = 0, heading : Float = 0, timestamp : Float = 0) : Void;
+	static var UPDATE : String;
+}

+ 15 - 0
std/flash9/events/GestureEvent.hx

@@ -0,0 +1,15 @@
+package flash.events;
+
+@:require(flash10_1) extern class GestureEvent extends Event {
+	var altKey : Bool;
+	var ctrlKey : Bool;
+	var localX : Float;
+	var localY : Float;
+	var phase : String;
+	var shiftKey : Bool;
+	var stageX(default,null) : Float;
+	var stageY(default,null) : Float;
+	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
+	function updateAfterEvent() : Void;
+	static var GESTURE_TWO_FINGER_TAP : String;
+}

+ 8 - 0
std/flash9/events/GesturePhase.hx

@@ -0,0 +1,8 @@
+package flash.events;
+
+extern enum GesturePhase {
+	ALL;
+	BEGIN;
+	END;
+	UPDATE;
+}

+ 3 - 0
std/flash9/events/HTTPStatusEvent.hx

@@ -1,7 +1,10 @@
 package flash.events;
 
 extern class HTTPStatusEvent extends Event {
+	@:require(flash10_1) var responseHeaders : Array<Dynamic>;
+	@:require(flash10_1) var responseURL : String;
 	var status(default,null) : Int;
 	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, status : Int = 0) : Void;
+	@:require(flash10_1) static var HTTP_RESPONSE_STATUS : String;
 	static var HTTP_STATUS : String;
 }

+ 3 - 1
std/flash9/events/IMEEvent.hx

@@ -1,6 +1,8 @@
 package flash.events;
 
 extern class IMEEvent extends TextEvent {
-	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String) : Void;
+	@:require(flash10_1) var imeClient : flash.text.ime.IIMEClient;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, ?imeClient : flash.text.ime.IIMEClient) : Void;
 	static var IME_COMPOSITION : String;
+	@:require(flash10_1) static var IME_START_COMPOSITION : String;
 }

+ 1 - 1
std/flash9/events/IOErrorEvent.hx

@@ -1,7 +1,7 @@
 package flash.events;
 
 extern class IOErrorEvent extends ErrorEvent {
-	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String) : Void;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, id : Int = 0) : Void;
 	static var DISK_ERROR : String;
 	static var IO_ERROR : String;
 	static var NETWORK_ERROR : String;

+ 1 - 1
std/flash9/events/KeyboardEvent.hx

@@ -7,7 +7,7 @@ extern class KeyboardEvent extends Event {
 	var keyCode : UInt;
 	var keyLocation : flash.ui.KeyLocation;
 	var shiftKey : Bool;
-	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCode : UInt = 0, keyCode : UInt = 0, keyLocation : flash.ui.KeyLocation = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
+	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCodeValue : UInt = 0, keyCodeValue : UInt = 0, keyLocationValue : flash.ui.KeyLocation = 0, ctrlKeyValue : Bool = false, altKeyValue : Bool = false, shiftKeyValue : Bool = false) : Void;
 	function updateAfterEvent() : Void;
 	static var KEY_DOWN : String;
 	static var KEY_UP : String;

+ 10 - 0
std/flash9/events/PressAndTapGestureEvent.hx

@@ -0,0 +1,10 @@
+package flash.events;
+
+@:require(flash10_1) extern class PressAndTapGestureEvent extends GestureEvent {
+	var tapLocalX : Float;
+	var tapLocalY : Float;
+	var tapStageX(default,null) : Float;
+	var tapStageY(default,null) : Float;
+	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, tapLocalX : Float = 0, tapLocalY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
+	static var GESTURE_PRESS_AND_TAP : String;
+}

+ 4 - 4
std/flash9/events/ProgressEvent.hx

@@ -1,9 +1,9 @@
 package flash.events;
 
-extern class ProgressEvent extends Event {
-	var bytesLoaded : UInt;
-	var bytesTotal : UInt;
-	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, bytesLoaded : UInt = 0, bytesTotal : UInt = 0) : Void;
+extern class ProgressEvent extends Event {	
+	var bytesLoaded : Float;
+	var bytesTotal : Float;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, bytesLoaded : Float = 0, bytesTotal : Float = 0) : Void;
 	static var PROGRESS : String;
 	static var SOCKET_DATA : String;
 }

+ 1 - 1
std/flash9/events/SecurityErrorEvent.hx

@@ -1,6 +1,6 @@
 package flash.events;
 
 extern class SecurityErrorEvent extends ErrorEvent {
-	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String) : Void;
+	function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, id : Int = 0) : Void;
 	static var SECURITY_ERROR : String;
 }

+ 28 - 0
std/flash9/events/TouchEvent.hx

@@ -0,0 +1,28 @@
+package flash.events;
+
+@:require(flash10_1) extern class TouchEvent extends Event {
+	var altKey : Bool;
+	var ctrlKey : Bool;
+	var isPrimaryTouchPoint : Bool;
+	var isRelatedObjectInaccessible : Bool;
+	var localX : Float;
+	var localY : Float;
+	var pressure : Float;
+	var relatedObject : flash.display.InteractiveObject;
+	var shiftKey : Bool;
+	var sizeX : Float;
+	var sizeY : Float;
+	var stageX(default,null) : Float;
+	var stageY(default,null) : Float;
+	var touchPointID : Int;
+	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, touchPointID : Int = 0, isPrimaryTouchPoint : Bool = false, localX : Float = 0./*NaN*/, localY : Float = 0./*NaN*/, sizeX : Float = 0./*NaN*/, sizeY : Float = 0./*NaN*/, pressure : Float = 0./*NaN*/, ?relatedObject : flash.display.InteractiveObject, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
+	function updateAfterEvent() : Void;
+	static var TOUCH_BEGIN : String;
+	static var TOUCH_END : String;
+	static var TOUCH_MOVE : String;
+	static var TOUCH_OUT : String;
+	static var TOUCH_OVER : String;
+	static var TOUCH_ROLL_OUT : String;
+	static var TOUCH_ROLL_OVER : String;
+	static var TOUCH_TAP : String;
+}

+ 14 - 0
std/flash9/events/TransformGestureEvent.hx

@@ -0,0 +1,14 @@
+package flash.events;
+
+@:require(flash10_1) extern class TransformGestureEvent extends GestureEvent {
+	var offsetX : Float;
+	var offsetY : Float;
+	var rotation : Float;
+	var scaleX : Float;
+	var scaleY : Float;
+	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, scaleX : Float = 1, scaleY : Float = 1, rotation : Float = 0, offsetX : Float = 0, offsetY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
+	static var GESTURE_PAN : String;
+	static var GESTURE_ROTATE : String;
+	static var GESTURE_SWIPE : String;
+	static var GESTURE_ZOOM : String;
+}

+ 7 - 0
std/flash9/events/UncaughtErrorEvent.hx

@@ -0,0 +1,7 @@
+package flash.events;
+
+@:require(flash10_1) extern class UncaughtErrorEvent extends ErrorEvent {
+	var error(default,null) : Dynamic;
+	function new(?type : String, bubbles : Bool = true, cancelable : Bool = true, ?error_in : Dynamic) : Void;
+	static var UNCAUGHT_ERROR : String;
+}

+ 5 - 0
std/flash9/events/UncaughtErrorEvents.hx

@@ -0,0 +1,5 @@
+package flash.events;
+
+@:require(flash10_1) extern class UncaughtErrorEvents extends EventDispatcher {
+	function new() : Void;
+}

+ 2 - 0
std/flash9/media/Camera.hx

@@ -22,6 +22,8 @@ package flash.media;
 	function setMode(width : Int, height : Int, fps : Float, favorArea : Bool = true) : Void;
 	function setMotionLevel(motionLevel : Int, timeout : Int = 2000) : Void;
 	function setQuality(bandwidth : Int, quality : Int) : Void;
+	@:require(flash10_1) static var isSupported(default,null) : Bool;
 	static var names(default,null) : Array<Dynamic>;
+	@:require(flash10_1) static function _scanHardware() : Void;
 	static function getCamera(?name : String) : Camera;
 }

+ 3 - 0
std/flash9/media/Microphone.hx

@@ -3,12 +3,14 @@ package flash.media;
 @:final extern class Microphone extends flash.events.EventDispatcher {
 	var activityLevel(default,null) : Float;
 	@:require(flash10) var codec : SoundCodec;
+	@:require(flash10_1) var enableVAD : Bool;
 	@:require(flash10) var encodeQuality : Int;
 	@:require(flash10) var framesPerPacket : Int;
 	var gain : Float;
 	var index(default,null) : Int;
 	var muted(default,null) : Bool;
 	var name(default,null) : String;
+	@:require(flash10_1) var noiseSuppressionLevel : Int;
 	var rate : Int;
 	var silenceLevel(default,null) : Float;
 	var silenceTimeout(default,null) : Int;
@@ -18,6 +20,7 @@ package flash.media;
 	function setLoopBack(state : Bool = true) : Void;
 	function setSilenceLevel(silenceLevel : Float, timeout : Int = -1) : Void;
 	function setUseEchoSuppression(useEchoSuppression : Bool) : Void;
+	@:require(flash10_1) static var isSupported(default,null) : Bool;
 	static var names(default,null) : Array<Dynamic>;
 	static function getMicrophone(index : Int = -1) : Microphone;
 }

+ 1 - 0
std/flash9/media/Sound.hx

@@ -5,6 +5,7 @@ extern class Sound extends flash.events.EventDispatcher {
 	var bytesTotal(default,null) : Int;
 	var id3(default,null) : ID3Info;
 	var isBuffering(default,null) : Bool;
+	@:require(flash10_1) var isURLInaccessible(default,null) : Bool;
 	var length(default,null) : Float;
 	var url(default,null) : String;
 	function new(?stream : flash.net.URLRequest, ?context : SoundLoaderContext) : Void;

+ 1 - 1
std/flash9/net/FileReference.hx

@@ -6,7 +6,7 @@ extern class FileReference extends flash.events.EventDispatcher {
 	@:require(flash10) var data(default,null) : flash.utils.ByteArray;
 	var modificationDate(default,null) : Date;
 	var name(default,null) : String;
-	var size(default,null) : UInt;
+	var size(default,null) : Float;
 	var type(default,null) : String;
 	function new() : Void;
 	function browse(?typeFilter : Array<FileFilter>) : Bool;

+ 25 - 0
std/flash9/net/GroupSpecifier.hx

@@ -0,0 +1,25 @@
+package flash.net;
+
+extern class GroupSpecifier {
+	var ipMulticastMemberUpdatesEnabled : Bool;
+	var multicastEnabled : Bool;
+	var objectReplicationEnabled : Bool;
+	var peerToPeerDisabled : Bool;
+	var postingEnabled : Bool;
+	var routingEnabled : Bool;
+	var serverChannelEnabled : Bool;
+	function new(name : String) : Void;
+	function addBootstrapPeer(peerID : String) : Void;
+	function addIPMulticastAddress(address : String, ?port : Dynamic, ?source : String) : Void;
+	function authorizations() : String;
+	function groupspecWithAuthorizations() : String;
+	function groupspecWithoutAuthorizations() : String;
+	function makeUnique() : Void;
+	function setPostingPassword(?password : String, ?salt : String) : Void;
+	function setPublishPassword(?password : String, ?salt : String) : Void;
+	function toString() : String;
+	static function encodeBootstrapPeerIDSpec(peerID : String) : String;
+	static function encodeIPMulticastAddressSpec(address : String, ?port : Dynamic, ?source : String) : String;
+	static function encodePostingAuthorization(password : String) : String;
+	static function encodePublishAuthorization(password : String) : String;
+}

+ 2 - 0
std/flash9/net/LocalConnection.hx

@@ -3,10 +3,12 @@ package flash.net;
 extern class LocalConnection extends flash.events.EventDispatcher {
 	var client : Dynamic;
 	var domain(default,null) : String;
+	@:require(flash10_1) var isPerUser : Bool;
 	function new() : Void;
 	function allowDomain(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
 	function allowInsecureDomain(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
 	function close() : Void;
 	function connect(connectionName : String) : Void;
 	function send(connectionName : String, methodName : String, ?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
+	@:require(flash10_1) static var isSupported(default,null) : Bool;
 }

+ 26 - 0
std/flash9/net/NetGroup.hx

@@ -0,0 +1,26 @@
+package flash.net;
+
+@:require(flash10_1) extern class NetGroup extends flash.events.EventDispatcher {
+	var estimatedMemberCount(default,null) : Float;
+	var info(default,null) : NetGroupInfo;
+	var localCoverageFrom(default,null) : String;
+	var localCoverageTo(default,null) : String;
+	var neighborCount(default,null) : Float;
+	var receiveMode : NetGroupReceiveMode;
+	var replicationStrategy : NetGroupReplicationStrategy;
+	function new(connection : NetConnection, groupspec : String) : Void;
+	function addHaveObjects(startIndex : Float, endIndex : Float) : Void;
+	function addMemberHint(peerID : String) : Bool;
+	function addNeighbor(peerID : String) : Bool;
+	function addWantObjects(startIndex : Float, endIndex : Float) : Void;
+	function close() : Void;
+	function convertPeerIDToGroupAddress(peerID : String) : String;
+	function denyRequestedObject(requestID : Int) : Void;
+	function post(message : Dynamic) : String;
+	function removeHaveObjects(startIndex : Float, endIndex : Float) : Void;
+	function removeWantObjects(startIndex : Float, endIndex : Float) : Void;
+	function sendToAllNeighbors(message : Dynamic) : NetGroupSendResult;
+	function sendToNearest(message : Dynamic, groupAddress : String) : NetGroupSendResult;
+	function sendToNeighbor(message : Dynamic, sendMode : NetGroupSendMode) : NetGroupSendResult;
+	function writeRequestedObject(requestID : Int, object : Dynamic) : Void;
+}

+ 14 - 0
std/flash9/net/NetGroupInfo.hx

@@ -0,0 +1,14 @@
+package flash.net;
+
+@:require(flash10_1) @:final extern class NetGroupInfo {
+	var objectReplicationReceiveBytesPerSecond(default,null) : Float;
+	var objectReplicationSendBytesPerSecond(default,null) : Float;
+	var postingReceiveControlBytesPerSecond(default,null) : Float;
+	var postingReceiveDataBytesPerSecond(default,null) : Float;
+	var postingSendControlBytesPerSecond(default,null) : Float;
+	var postingSendDataBytesPerSecond(default,null) : Float;
+	var routingReceiveBytesPerSecond(default,null) : Float;
+	var routingSendBytesPerSecond(default,null) : Float;
+	function new(postingSendDataBytesPerSecond : Float, postingSendControlBytesPerSecond : Float, postingReceiveDataBytesPerSecond : Float, postingReceiveControlBytesPerSecond : Float, routingSendBytesPerSecond : Float, routingReceiveBytesPerSecond : Float, objectReplicationSendBytesPerSecond : Float, objectReplicationReceiveBytesPerSecond : Float) : Void;
+	function toString() : String;
+}

+ 6 - 0
std/flash9/net/NetGroupReceiveMode.hx

@@ -0,0 +1,6 @@
+package flash.net;
+
+extern enum NetGroupReceiveMode {
+	EXACT;
+	NEAREST;
+}

+ 6 - 0
std/flash9/net/NetGroupReplicationStrategy.hx

@@ -0,0 +1,6 @@
+package flash.net;
+
+extern enum NetGroupReplicationStrategy {
+	LOWEST_FIRST;
+	RAREST_FIRST;
+}

+ 6 - 0
std/flash9/net/NetGroupSendMode.hx

@@ -0,0 +1,6 @@
+package flash.net;
+
+extern enum NetGroupSendMode {
+	NEXT_DECREASING;
+	NEXT_INCREASING;
+}

+ 7 - 0
std/flash9/net/NetGroupSendResult.hx

@@ -0,0 +1,7 @@
+package flash.net;
+
+extern enum NetGroupSendResult {
+	ERROR;
+	NO_ROUTE;
+	SENT;
+}

+ 20 - 0
std/flash9/net/NetStream.hx

@@ -2,26 +2,45 @@ package flash.net;
 
 extern class NetStream extends flash.events.EventDispatcher {
 	var audioCodec(default,null) : UInt;
+	@:require(flash10_1) var audioReliable : Bool;
+	@:require(flash10_1) var audioSampleAccess : Bool;
+	@:require(flash10_1) var backBufferLength(default,null) : Float;
+	@:require(flash10_1) var backBufferTime : Float;
 	var bufferLength(default,null) : Float;
 	var bufferTime : Float;
+	@:require(flash10_1) var bufferTimeMax : Float;
 	var bytesLoaded(default,null) : UInt;
 	var bytesTotal(default,null) : UInt;
 	var checkPolicyFile : Bool;
 	var client : Dynamic;
 	var currentFPS(default,null) : Float;
+	@:require(flash10_1) var dataReliable : Bool;
 	var decodedFrames(default,null) : UInt;
 	@:require(flash10) var farID(default,null) : String;
 	@:require(flash10) var farNonce(default,null) : String;
+	@:require(flash10_1) var inBufferSeek : Bool;
 	@:require(flash10) var info(default,null) : NetStreamInfo;
 	var liveDelay(default,null) : Float;
 	@:require(flash10) var maxPauseBufferTime : Float;
+	@:require(flash10_1) var multicastAvailabilitySendToAll : Bool;
+	@:require(flash10_1) var multicastAvailabilityUpdatePeriod : Float;
+	@:require(flash10_1) var multicastFetchPeriod : Float;
+	@:require(flash10_1) var multicastInfo(default,null) : NetStreamMulticastInfo;
+	@:require(flash10_1) var multicastPushNeighborLimit : Float;
+	@:require(flash10_1) var multicastRelayMarginDuration : Float;
+	@:require(flash10_1) var multicastWindowDuration : Float;
 	@:require(flash10) var nearNonce(default,null) : String;
 	var objectEncoding(default,null) : UInt;
 	@:require(flash10) var peerStreams(default,null) : Array<Dynamic>;
 	var soundTransform : flash.media.SoundTransform;
 	var time(default,null) : Float;
 	var videoCodec(default,null) : UInt;
+	@:require(flash10_1) var videoReliable : Bool;
+	@:require(flash10_1) var videoSampleAccess : Bool;
 	function new(connection : NetConnection, ?peerID : String) : Void;
+	@:require(flash10_1) function appendBytes(bytes : flash.utils.ByteArray) : Void;
+	@:require(flash10_1) function appendBytesAction(netStreamAppendBytesAction : NetStreamAppendBytesAction) : Void;
+	@:require(flash10_1) function attach(connection : NetConnection) : Void;
 	function attachAudio(microphone : flash.media.Microphone) : Void;
 	function attachCamera(theCamera : flash.media.Camera, snapshotMilliseconds : Int = -1) : Void;
 	function close() : Void;
@@ -36,6 +55,7 @@ extern class NetStream extends flash.events.EventDispatcher {
 	function resume() : Void;
 	function seek(offset : Float) : Void;
 	function send(handlerName : String, ?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
+	@:require(flash10_1) function step(frames : Int) : Void;
 	function togglePause() : Void;
 	@:require(flash10) static var CONNECT_TO_FMS : String;
 	@:require(flash10) static var DIRECT_CONNECTIONS : String;

+ 7 - 0
std/flash9/net/NetStreamAppendBytesAction.hx

@@ -0,0 +1,7 @@
+package flash.net;
+
+extern enum NetStreamAppendBytesAction {
+	END_SEQUENCE;
+	RESET_BEGIN;
+	RESET_SEEK;
+}

+ 2 - 1
std/flash9/net/NetStreamInfo.hx

@@ -20,6 +20,7 @@ package flash.net;
 	var videoBufferLength(default,null) : Float;
 	var videoByteCount(default,null) : Float;
 	var videoBytesPerSecond(default,null) : Float;
-	function new(curBPS : Float, byteCount : Float, maxBPS : Float, audioBPS : Float, audioByteCount : Float, videoBPS : Float, videoByteCount : Float, dataBPS : Float, dataByteCount : Float, playbackBPS : Float, droppedFrames : Float, audioBufferByteLength : Float, videoBufferByteLength : Float, dataBufferByteLength : Float, audioBufferLength : Float, videoBufferLength : Float, dataBufferLength : Float, srtt : Float, audioLossRate : Float) : Void;
+	@:require(flash10_1) var videoLossRate(default,null) : Float;
+	function new(curBPS : Float, byteCount : Float, maxBPS : Float, audioBPS : Float, audioByteCount : Float, videoBPS : Float, videoByteCount : Float, dataBPS : Float, dataByteCount : Float, playbackBPS : Float, droppedFrames : Float, audioBufferByteLength : Float, videoBufferByteLength : Float, dataBufferByteLength : Float, audioBufferLength : Float, videoBufferLength : Float, dataBufferLength : Float, srtt : Float, audioLossRate : Float, videoLossRate : Float) : Void;
 	function toString() : String;
 }

+ 25 - 0
std/flash9/net/NetStreamMulticastInfo.hx

@@ -0,0 +1,25 @@
+package flash.net;
+
+@:require(flash10_1) @:final extern class NetStreamMulticastInfo {
+	var bytesPushedFromPeers(default,null) : Float;
+	var bytesPushedToPeers(default,null) : Float;
+	var bytesReceivedFromIPMulticast(default,null) : Float;
+	var bytesReceivedFromServer(default,null) : Float;
+	var bytesRequestedByPeers(default,null) : Float;
+	var bytesRequestedFromPeers(default,null) : Float;
+	var fragmentsPushedFromPeers(default,null) : Float;
+	var fragmentsPushedToPeers(default,null) : Float;
+	var fragmentsReceivedFromIPMulticast(default,null) : Float;
+	var fragmentsReceivedFromServer(default,null) : Float;
+	var fragmentsRequestedByPeers(default,null) : Float;
+	var fragmentsRequestedFromPeers(default,null) : Float;
+	var receiveControlBytesPerSecond(default,null) : Float;
+	var receiveDataBytesPerSecond(default,null) : Float;
+	var receiveDataBytesPerSecondFromIPMulticast(default,null) : Float;
+	var receiveDataBytesPerSecondFromServer(default,null) : Float;
+	var sendControlBytesPerSecond(default,null) : Float;
+	var sendControlBytesPerSecondToServer(default,null) : Float;
+	var sendDataBytesPerSecond(default,null) : Float;
+	function new(sendDataBytesPerSecond : Float, sendControlBytesPerSecond : Float, receiveDataBytesPerSecond : Float, receiveControlBytesPerSecond : Float, bytesPushedToPeers : Float, fragmentsPushedToPeers : Float, bytesRequestedByPeers : Float, fragmentsRequestedByPeers : Float, bytesPushedFromPeers : Float, fragmentsPushedFromPeers : Float, bytesRequestedFromPeers : Float, fragmentsRequestedFromPeers : Float, sendControlBytesPerSecondToServer : Float, receiveDataBytesPerSecondFromServer : Float, bytesReceivedFromServer : Float, fragmentsReceivedFromServer : Float, receiveDataBytesPerSecondFromIPMulticast : Float, bytesReceivedFromIPMulticast : Float, fragmentsReceivedFromIPMulticast : Float) : Void;
+	function toString() : String;
+}

+ 1 - 0
std/flash9/net/NetStreamPlayOptions.hx

@@ -2,6 +2,7 @@ package flash.net;
 
 extern class NetStreamPlayOptions extends flash.events.EventDispatcher, implements Dynamic {
 	var len : Float;
+	@:require(flash10_1) var offset : Float;
 	var oldStreamName : String;
 	var start : Float;
 	var streamName : String;

+ 4 - 0
std/flash9/net/URLRequestMethod.hx

@@ -1,6 +1,10 @@
 package flash.net;
 
 extern class URLRequestMethod {
+	@:require(flash10_1) static var DELETE : String;
 	static var GET : String;
+	@:require(flash10_1) static var HEAD : String;
+	@:require(flash10_1) static var OPTIONS : String;
 	static var POST : String;
+	@:require(flash10_1) static var PUT : String;
 }

+ 6 - 0
std/flash9/net/drm/AuthenticationMethod.hx

@@ -0,0 +1,6 @@
+package flash.net.drm;
+
+extern enum AuthenticationMethod {
+	ANONYMOUS;
+	USERNAME_AND_PASSWORD;
+}

+ 7 - 0
std/flash9/net/drm/DRMAuthenticationContext.hx

@@ -0,0 +1,7 @@
+package flash.net.drm;
+
+extern class DRMAuthenticationContext extends DRMManagerSession {
+	var authenticationToken(default,null) : flash.utils.ByteArray;
+	function new() : Void;
+	function authenticate(url : String, domain : String, username : String, password : String) : Void;
+}

+ 10 - 0
std/flash9/net/drm/DRMContentData.hx

@@ -0,0 +1,10 @@
+package flash.net.drm;
+
+extern class DRMContentData {
+	var authenticationMethod(default,null) : String;
+	var domain(default,null) : String;
+	var licenseID(default,null) : String;
+	var serverURL(default,null) : String;
+	function new(?rawData : flash.utils.ByteArray) : Void;
+	function getVoucherAccessInfo() : flash.Vector<VoucherAccessInfo>;
+}

+ 11 - 0
std/flash9/net/drm/DRMManager.hx

@@ -0,0 +1,11 @@
+package flash.net.drm;
+
+extern class DRMManager extends flash.events.EventDispatcher {
+	function new() : Void;
+	function authenticate(serverURL : String, domain : String, username : String, password : String) : Void;
+	function loadPreviewVoucher(contentData : DRMContentData) : Void;
+	function loadVoucher(contentData : DRMContentData, setting : String) : Void;
+	function setAuthenticationToken(serverUrl : String, domain : String, token : flash.utils.ByteArray) : Void;
+	static var isSupported(default,null) : Bool;
+	static function getDRMManager() : DRMManager;
+}

+ 20 - 0
std/flash9/net/drm/DRMManagerSession.hx

@@ -0,0 +1,20 @@
+package flash.net.drm;
+
+extern class DRMManagerSession extends flash.events.EventDispatcher {
+	var m_isInSession : Bool;
+	var metadata : DRMContentData;
+	function new() : Void;
+	function checkStatus() : UInt;
+	function errorCodeToThrow(errorCode : UInt) : Void;
+	function getLastError() : UInt;
+	function getLastSubErrorID() : UInt;
+	function issueDRMErrorEvent(metadata : DRMContentData, errorID : Int, subErrorID : Int) : Void;
+	function issueDRMStatusEvent(inMetadata : DRMContentData, voucher : DRMVoucher) : Dynamic;
+	function onSessionComplete() : Void;
+	function onSessionError() : Void;
+	function setTimerUp() : Void;
+	static var STATUS_FAILED : UInt;
+	static var STATUS_NOTREADY : UInt;
+	static var STATUS_READY : UInt;
+	static var STATUS_UNKNOWN : UInt;
+}

+ 5 - 0
std/flash9/net/drm/DRMModuleCycleProvider.hx

@@ -0,0 +1,5 @@
+package flash.net.drm;
+
+extern class DRMModuleCycleProvider {
+	function new() : Void;
+}

+ 8 - 0
std/flash9/net/drm/DRMPlaybackTimeWindow.hx

@@ -0,0 +1,8 @@
+package flash.net.drm;
+
+extern class DRMPlaybackTimeWindow {
+	var endDate(default,null) : Date;
+	var period(default,null) : UInt;
+	var startDate(default,null) : Date;
+	function new() : Void;
+}

+ 5 - 0
std/flash9/net/drm/DRMURLDownloadContext.hx

@@ -0,0 +1,5 @@
+package flash.net.drm;
+
+extern class DRMURLDownloadContext extends flash.events.EventDispatcher {
+	function new() : Void;
+}

+ 11 - 0
std/flash9/net/drm/DRMVoucher.hx

@@ -0,0 +1,11 @@
+package flash.net.drm;
+
+extern class DRMVoucher {
+	var offlineLeaseEndDate(default,null) : Date;
+	var offlineLeaseStartDate(default,null) : Date;
+	var playbackTimeWindow(default,null) : DRMPlaybackTimeWindow;
+	var policies(default,null) : Dynamic;
+	var voucherEndDate(default,null) : Date;
+	var voucherStartDate(default,null) : Date;
+	function new() : Void;
+}

+ 7 - 0
std/flash9/net/drm/DRMVoucherDownloadContext.hx

@@ -0,0 +1,7 @@
+package flash.net.drm;
+
+extern class DRMVoucherDownloadContext extends DRMManagerSession {
+	var voucher(default,null) : DRMVoucher;
+	function new() : Void;
+	function download(inMetadata : DRMContentData, previewVoucher : Bool = false) : Void;
+}

+ 7 - 0
std/flash9/net/drm/DRMVoucherStoreContext.hx

@@ -0,0 +1,7 @@
+package flash.net.drm;
+
+extern class DRMVoucherStoreContext extends DRMManagerSession {
+	var voucher(default,null) : DRMVoucher;
+	function new() : Void;
+	function getVoucherFromStore(inMetadata : DRMContentData) : Void;
+}

+ 7 - 0
std/flash9/net/drm/LoadVoucherSetting.hx

@@ -0,0 +1,7 @@
+package flash.net.drm;
+
+extern enum LoadVoucherSetting {
+	ALLOW_SERVER;
+	FORCE_REFRESH;
+	LOCAL_ONLY;
+}

+ 8 - 0
std/flash9/net/drm/VoucherAccessInfo.hx

@@ -0,0 +1,8 @@
+package flash.net.drm;
+
+@:final extern class VoucherAccessInfo {
+	var authenticationMethod(default,null) : String;
+	var displayName(default,null) : String;
+	var domain(default,null) : String;
+	function new() : Void;
+}

+ 1 - 0
std/flash9/printing/PrintJob.hx

@@ -10,4 +10,5 @@ extern class PrintJob extends flash.events.EventDispatcher {
 	function addPage(sprite : flash.display.Sprite, ?printArea : flash.geom.Rectangle, ?options : PrintJobOptions, frameNum : Int = 0) : Void;
 	function send() : Void;
 	function start() : Bool;
+	@:require(flash10_1) static var isSupported(default,null) : Bool;
 }

+ 1 - 0
std/flash9/sampler/NewObjectSample.hx

@@ -3,5 +3,6 @@ package flash.sampler;
 @:final extern class NewObjectSample extends Sample {
 	var id : Float;
 	var object(default,null) : Dynamic;
+	@:require(flash10_1) var size(default,null) : Float;
 	var type : Class<Dynamic>;
 }

+ 1 - 0
std/flash9/sampler/StackFrame.hx

@@ -4,5 +4,6 @@ package flash.sampler;
 	var file : String;
 	var line : UInt;
 	var name : String;
+	@:require(flash10_1) var scriptID : Float;
 	function toString() : String;
 }

+ 8 - 0
std/flash9/sensors/Accelerometer.hx

@@ -0,0 +1,8 @@
+package flash.sensors;
+
+@:require(flash10_1) extern class Accelerometer extends flash.events.EventDispatcher {
+	var muted(default,null) : Bool;
+	function new() : Void;
+	function setRequestedUpdateInterval(interval : Float) : Void;
+	static var isSupported(default,null) : Bool;
+}

+ 8 - 0
std/flash9/sensors/Geolocation.hx

@@ -0,0 +1,8 @@
+package flash.sensors;
+
+@:require(flash10_1) extern class Geolocation extends flash.events.EventDispatcher {
+	var muted(default,null) : Bool;
+	function new() : Void;
+	function setRequestedUpdateInterval(interval : Float) : Void;
+	static var isSupported(default,null) : Bool;
+}

+ 4 - 0
std/flash9/system/Capabilities.hx

@@ -3,6 +3,7 @@ package flash.system;
 extern class Capabilities {
 	static var _internal(default,null) : UInt;
 	static var avHardwareDisable(default,null) : Bool;
+	static var cpuArchitecture(default,null) : String;
 	static var hasAccessibility(default,null) : Bool;
 	static var hasAudio(default,null) : Bool;
 	static var hasAudioEncoder(default,null) : Bool;
@@ -30,5 +31,8 @@ extern class Capabilities {
 	static var screenResolutionX(default,null) : Float;
 	static var screenResolutionY(default,null) : Float;
 	static var serverString(default,null) : String;
+	static var supports32BitProcesses(default,null) : Bool;
+	static var supports64BitProcesses(default,null) : Bool;
+	static var touchscreenType(default,null) : TouchscreenType;
 	static var version(default,null) : String;
 }

+ 3 - 0
std/flash9/system/IME.hx

@@ -4,6 +4,9 @@ extern class IME extends flash.events.EventDispatcher {
 	static var constructOK(null,default) : Bool;
 	static var conversionMode : IMEConversionMode;
 	static var enabled : Bool;
+	@:require(flash10_1) static var isSupported(default,null) : Bool;
+	@:require(flash10_1) static function compositionAbandoned() : Void;
+	@:require(flash10_1) static function compositionSelectionChanged(start : Int, end : Int) : Void;
 	static function doConversion() : Void;
 	static function setCompositionString(composition : String) : Void;
 }

+ 2 - 0
std/flash9/system/LoaderContext.hx

@@ -1,6 +1,8 @@
 package flash.system;
 
 extern class LoaderContext {
+	@:require(flash10_1) var allowCodeImport : Bool;
+	@:require(flash10_1) var allowLoadBytesCodeExecution : Bool;
 	var applicationDomain : ApplicationDomain;
 	var checkPolicyFile : Bool;
 	var securityDomain : SecurityDomain;

+ 3 - 0
std/flash9/system/Security.hx

@@ -1,6 +1,7 @@
 package flash.system;
 
 extern class Security {
+	@:require(flash10_1) static var APPLICATION : String;
 	static var LOCAL_TRUSTED : String;
 	static var LOCAL_WITH_FILE : String;
 	static var LOCAL_WITH_NETWORK : String;
@@ -10,6 +11,8 @@ extern class Security {
 	static var sandboxType(default,null) : String;
 	static function allowDomain(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
 	static function allowInsecureDomain(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
+	@:require(flash10_1) static function duplicateSandboxBridgeInputArguments(toplevel : Dynamic, args : Array<Dynamic>) : Array<Dynamic>;
+	@:require(flash10_1) static function duplicateSandboxBridgeOutputArgument(toplevel : Dynamic, arg : Dynamic) : Dynamic;
 	static function loadPolicyFile(url : String) : Void;
 	static function showSettings(?panel : SecurityPanel) : Void;
 }

+ 7 - 0
std/flash9/system/System.hx

@@ -1,12 +1,19 @@
 package flash.system;
 
 extern class System {
+	@:require(flash10_1) static var currentTime(default,null) : Float;
+	@:require(flash10_1) static var freeMemory(default,null) : Float;
 	static var ime(default,null) : IME;
+	@:require(flash10_1) static var preciseStartupTime(default,null) : Float;
+	@:require(flash10_1) static var privateMemory(default,null) : Float;
 	static var totalMemory(default,null) : UInt;
+	@:require(flash10_1) static var totalMemoryNumber(default,null) : Float;
 	static var useCodePage : Bool;
 	static var vmVersion(default,null) : String;
+	@:require(flash10_1) static function disposeXML(node : flash.xml.XML) : Void;
 	static function exit(code : UInt) : Void;
 	static function gc() : Void;
+	@:require(flash10_1) static function nativeConstructionOnly(object : Dynamic) : Void;
 	static function pause() : Void;
 	static function resume() : Void;
 	static function setClipboard(string : String) : Void;

+ 7 - 0
std/flash9/system/SystemUpdater.hx

@@ -0,0 +1,7 @@
+package flash.system;
+
+@:require(flash10_1) extern class SystemUpdater extends flash.events.EventDispatcher {
+	function new() : Void;
+	function cancel() : Void;
+	function update(type : SystemUpdaterType) : Void;
+}

+ 6 - 0
std/flash9/system/SystemUpdaterType.hx

@@ -0,0 +1,6 @@
+package flash.system;
+
+extern enum SystemUpdaterType {
+	DRM;
+	SYSTEM;
+}

+ 7 - 0
std/flash9/system/TouchscreenType.hx

@@ -0,0 +1,7 @@
+package flash.system;
+
+extern enum TouchscreenType {
+	FINGER;
+	NONE;
+	STYLUS;
+}

+ 1 - 0
std/flash9/text/engine/FontDescription.hx

@@ -10,5 +10,6 @@ package flash.text.engine;
 	var renderingMode : RenderingMode;
 	function new(?fontName : String, ?fontWeight : FontWeight, ?fontPosture : FontPosture, ?fontLookup : FontLookup, ?renderingMode : RenderingMode, ?cffHinting : CFFHinting) : Void;
 	function clone() : FontDescription;
+	@:require(flash10_1) static function isDeviceFontCompatible(fontName : String, fontWeight : FontWeight, fontPosture : FontPosture) : Bool;
 	static function isFontCompatible(fontName : String, fontWeight : FontWeight, fontPosture : FontPosture) : Bool;
 }

+ 3 - 0
std/flash9/text/engine/SpaceJustifier.hx

@@ -2,5 +2,8 @@ package flash.text.engine;
 
 @:final extern class SpaceJustifier extends TextJustifier {
 	var letterSpacing : Bool;
+	@:require(flash10_1) var maximumSpacing : Float;
+	@:require(flash10_1) var minimumSpacing : Float;
+	@:require(flash10_1) var optimumSpacing : Float;
 	function new(?locale : String, ?lineJustification : LineJustification, letterSpacing : Bool = false) : Void;
 }

+ 2 - 0
std/flash9/text/engine/TextBlock.hx

@@ -23,5 +23,7 @@ package flash.text.engine;
 	function findPreviousAtomBoundary(beforeCharIndex : Int) : Int;
 	function findPreviousWordBoundary(beforeCharIndex : Int) : Int;
 	function getTextLineAtCharIndex(charIndex : Int) : TextLine;
+	@:require(flash10_1) function recreateTextLine(textLine : TextLine, ?previousLine : TextLine, width : Float = 1000000, lineOffset : Float = 0, fitSomething : Bool = false) : TextLine;
+	@:require(flash10_1) function releaseLineCreationData() : Void;
 	function releaseLines(firstLine : TextLine, lastLine : TextLine) : Void;
 }

+ 1 - 0
std/flash9/text/engine/TextLine.hx

@@ -5,6 +5,7 @@ package flash.text.engine;
 	var atomCount(default,null) : Int;
 	var descent(default,null) : Float;
 	var hasGraphicElement(default,null) : Bool;
+	@:require(flash10_1) var hasTabs(default,null) : Bool;
 	var mirrorRegions(default,null) : flash.Vector<TextLineMirrorRegion>;
 	var nextLine(default,null) : TextLine;
 	var previousLine(default,null) : TextLine;

+ 9 - 0
std/flash9/text/ime/CompositionAttributeRange.hx

@@ -0,0 +1,9 @@
+package flash.text.ime;
+
+@:final extern class CompositionAttributeRange {
+	var converted : Bool;
+	var relativeEnd : Int;
+	var relativeStart : Int;
+	var selected : Bool;
+	function new(relativeStart : Int, relativeEnd : Int, selected : Bool, converted : Bool) : Void;
+}

+ 14 - 0
std/flash9/text/ime/IIMEClient.hx

@@ -0,0 +1,14 @@
+package flash.text.ime;
+
+extern interface IIMEClient {
+	var compositionEndIndex(default,null) : Int;
+	var compositionStartIndex(default,null) : Int;
+	var selectionActiveIndex(default,null) : Int;
+	var selectionAnchorIndex(default,null) : Int;
+	var verticalTextLayout(default,null) : Bool;
+	function confirmComposition(?text : String, preserveSelection : Bool = false) : Void;
+	function getTextBounds(startIndex : Int, endIndex : Int) : flash.geom.Rectangle;
+	function getTextInRange(startIndex : Int, endIndex : Int) : String;
+	function selectRange(anchorIndex : Int, activeIndex : Int) : Void;
+	function updateComposition(text : String, attributes : flash.Vector<CompositionAttributeRange>, compositionStartIndex : Int, compositionEndIndex : Int) : Void;
+}

+ 2 - 1
std/flash9/ui/ContextMenu.hx

@@ -1,6 +1,6 @@
 package flash.ui;
 
-@:final extern class ContextMenu extends flash.events.EventDispatcher {
+@:final extern class ContextMenu extends flash.display.NativeMenu {
 	var builtInItems : ContextMenuBuiltInItems;
 	@:require(flash10) var clipboardItems : ContextMenuClipboardItems;
 	@:require(flash10) var clipboardMenu : Bool;
@@ -9,4 +9,5 @@ package flash.ui;
 	function new() : Void;
 	function clone() : ContextMenu;
 	function hideBuiltInItems() : Void;
+	@:require(flash10_1) static var isSupported(default,null) : Bool;
 }

+ 1 - 2
std/flash9/ui/ContextMenuItem.hx

@@ -1,8 +1,7 @@
 package flash.ui;
 
-@:final extern class ContextMenuItem extends flash.events.EventDispatcher {
+@:final extern class ContextMenuItem extends flash.display.NativeMenuItem {
 	var caption : String;
-	var enabled : Bool;
 	var separatorBefore : Bool;
 	var visible : Bool;
 	function new(caption : String, separatorBefore : Bool = false, enabled : Bool = true, visible : Bool = true) : Void;

+ 197 - 0
std/flash9/ui/Keyboard.hx

@@ -1,14 +1,27 @@
 package flash.ui;
 
 extern class Keyboard {
+	@:require(flash10_1) static var A : UInt;
+	@:require(flash10_1) static var ALTERNATE : UInt;
+	@:require(flash10_1) static var B : UInt;
+	@:require(flash10_1) static var BACKQUOTE : UInt;
+	@:require(flash10_1) static var BACKSLASH : UInt;
 	static var BACKSPACE : UInt;
+	@:require(flash10_1) static var C : UInt;
 	static var CAPS_LOCK : UInt;
+	@:require(flash10_1) static var COMMA : UInt;
+	@:require(flash10_1) static var COMMAND : UInt;
 	static var CONTROL : UInt;
+	@:require(flash10_1) static var CharCodeStrings : Array<Dynamic>;
+	@:require(flash10_1) static var D : UInt;
 	static var DELETE : UInt;
 	static var DOWN : UInt;
+	@:require(flash10_1) static var E : UInt;
 	static var END : UInt;
 	static var ENTER : UInt;
+	@:require(flash10_1) static var EQUAL : UInt;
 	static var ESCAPE : UInt;
+	@:require(flash10_1) static var F : UInt;
 	static var F1 : UInt;
 	static var F10 : UInt;
 	static var F11 : UInt;
@@ -24,9 +37,102 @@ extern class Keyboard {
 	static var F7 : UInt;
 	static var F8 : UInt;
 	static var F9 : UInt;
+	@:require(flash10_1) static var G : UInt;
+	@:require(flash10_1) static var H : UInt;
 	static var HOME : UInt;
+	@:require(flash10_1) static var I : UInt;
 	static var INSERT : UInt;
+	@:require(flash10_1) static var J : UInt;
+	@:require(flash10_1) static var K : UInt;
+	@:require(flash10_1) static var KEYNAME_BEGIN : String;
+	@:require(flash10_1) static var KEYNAME_BREAK : String;
+	@:require(flash10_1) static var KEYNAME_CLEARDISPLAY : String;
+	@:require(flash10_1) static var KEYNAME_CLEARLINE : String;
+	@:require(flash10_1) static var KEYNAME_DELETE : String;
+	@:require(flash10_1) static var KEYNAME_DELETECHAR : String;
+	@:require(flash10_1) static var KEYNAME_DELETELINE : String;
+	@:require(flash10_1) static var KEYNAME_DOWNARROW : String;
+	@:require(flash10_1) static var KEYNAME_END : String;
+	@:require(flash10_1) static var KEYNAME_EXECUTE : String;
+	@:require(flash10_1) static var KEYNAME_F1 : String;
+	@:require(flash10_1) static var KEYNAME_F10 : String;
+	@:require(flash10_1) static var KEYNAME_F11 : String;
+	@:require(flash10_1) static var KEYNAME_F12 : String;
+	@:require(flash10_1) static var KEYNAME_F13 : String;
+	@:require(flash10_1) static var KEYNAME_F14 : String;
+	@:require(flash10_1) static var KEYNAME_F15 : String;
+	@:require(flash10_1) static var KEYNAME_F16 : String;
+	@:require(flash10_1) static var KEYNAME_F17 : String;
+	@:require(flash10_1) static var KEYNAME_F18 : String;
+	@:require(flash10_1) static var KEYNAME_F19 : String;
+	@:require(flash10_1) static var KEYNAME_F2 : String;
+	@:require(flash10_1) static var KEYNAME_F20 : String;
+	@:require(flash10_1) static var KEYNAME_F21 : String;
+	@:require(flash10_1) static var KEYNAME_F22 : String;
+	@:require(flash10_1) static var KEYNAME_F23 : String;
+	@:require(flash10_1) static var KEYNAME_F24 : String;
+	@:require(flash10_1) static var KEYNAME_F25 : String;
+	@:require(flash10_1) static var KEYNAME_F26 : String;
+	@:require(flash10_1) static var KEYNAME_F27 : String;
+	@:require(flash10_1) static var KEYNAME_F28 : String;
+	@:require(flash10_1) static var KEYNAME_F29 : String;
+	@:require(flash10_1) static var KEYNAME_F3 : String;
+	@:require(flash10_1) static var KEYNAME_F30 : String;
+	@:require(flash10_1) static var KEYNAME_F31 : String;
+	@:require(flash10_1) static var KEYNAME_F32 : String;
+	@:require(flash10_1) static var KEYNAME_F33 : String;
+	@:require(flash10_1) static var KEYNAME_F34 : String;
+	@:require(flash10_1) static var KEYNAME_F35 : String;
+	@:require(flash10_1) static var KEYNAME_F4 : String;
+	@:require(flash10_1) static var KEYNAME_F5 : String;
+	@:require(flash10_1) static var KEYNAME_F6 : String;
+	@:require(flash10_1) static var KEYNAME_F7 : String;
+	@:require(flash10_1) static var KEYNAME_F8 : String;
+	@:require(flash10_1) static var KEYNAME_F9 : String;
+	@:require(flash10_1) static var KEYNAME_FIND : String;
+	@:require(flash10_1) static var KEYNAME_HELP : String;
+	@:require(flash10_1) static var KEYNAME_HOME : String;
+	@:require(flash10_1) static var KEYNAME_INSERT : String;
+	@:require(flash10_1) static var KEYNAME_INSERTCHAR : String;
+	@:require(flash10_1) static var KEYNAME_INSERTLINE : String;
+	@:require(flash10_1) static var KEYNAME_LEFTARROW : String;
+	@:require(flash10_1) static var KEYNAME_MENU : String;
+	@:require(flash10_1) static var KEYNAME_MODESWITCH : String;
+	@:require(flash10_1) static var KEYNAME_NEXT : String;
+	@:require(flash10_1) static var KEYNAME_PAGEDOWN : String;
+	@:require(flash10_1) static var KEYNAME_PAGEUP : String;
+	@:require(flash10_1) static var KEYNAME_PAUSE : String;
+	@:require(flash10_1) static var KEYNAME_PREV : String;
+	@:require(flash10_1) static var KEYNAME_PRINT : String;
+	@:require(flash10_1) static var KEYNAME_PRINTSCREEN : String;
+	@:require(flash10_1) static var KEYNAME_REDO : String;
+	@:require(flash10_1) static var KEYNAME_RESET : String;
+	@:require(flash10_1) static var KEYNAME_RIGHTARROW : String;
+	@:require(flash10_1) static var KEYNAME_SCROLLLOCK : String;
+	@:require(flash10_1) static var KEYNAME_SELECT : String;
+	@:require(flash10_1) static var KEYNAME_STOP : String;
+	@:require(flash10_1) static var KEYNAME_SYSREQ : String;
+	@:require(flash10_1) static var KEYNAME_SYSTEM : String;
+	@:require(flash10_1) static var KEYNAME_UNDO : String;
+	@:require(flash10_1) static var KEYNAME_UPARROW : String;
+	@:require(flash10_1) static var KEYNAME_USER : String;
+	@:require(flash10_1) static var L : UInt;
 	static var LEFT : UInt;
+	@:require(flash10_1) static var LEFTBRACKET : UInt;
+	@:require(flash10_1) static var M : UInt;
+	@:require(flash10_1) static var MINUS : UInt;
+	@:require(flash10_1) static var N : UInt;
+	@:require(flash10_1) static var NUMBER_0 : UInt;
+	@:require(flash10_1) static var NUMBER_1 : UInt;
+	@:require(flash10_1) static var NUMBER_2 : UInt;
+	@:require(flash10_1) static var NUMBER_3 : UInt;
+	@:require(flash10_1) static var NUMBER_4 : UInt;
+	@:require(flash10_1) static var NUMBER_5 : UInt;
+	@:require(flash10_1) static var NUMBER_6 : UInt;
+	@:require(flash10_1) static var NUMBER_7 : UInt;
+	@:require(flash10_1) static var NUMBER_8 : UInt;
+	@:require(flash10_1) static var NUMBER_9 : UInt;
+	@:require(flash10_1) static var NUMPAD : UInt;
 	static var NUMPAD_0 : UInt;
 	static var NUMPAD_1 : UInt;
 	static var NUMPAD_2 : UInt;
@@ -43,14 +149,105 @@ extern class Keyboard {
 	static var NUMPAD_ENTER : UInt;
 	static var NUMPAD_MULTIPLY : UInt;
 	static var NUMPAD_SUBTRACT : UInt;
+	@:require(flash10_1) static var O : UInt;
+	@:require(flash10_1) static var P : UInt;
 	static var PAGE_DOWN : UInt;
 	static var PAGE_UP : UInt;
+	@:require(flash10_1) static var PERIOD : UInt;
+	@:require(flash10_1) static var Q : UInt;
+	@:require(flash10_1) static var QUOTE : UInt;
+	@:require(flash10_1) static var R : UInt;
 	static var RIGHT : UInt;
+	@:require(flash10_1) static var RIGHTBRACKET : UInt;
+	@:require(flash10_1) static var S : UInt;
+	@:require(flash10_1) static var SEMICOLON : UInt;
 	static var SHIFT : UInt;
+	@:require(flash10_1) static var SLASH : UInt;
 	static var SPACE : UInt;
+	@:require(flash10_1) static var STRING_BEGIN : String;
+	@:require(flash10_1) static var STRING_BREAK : String;
+	@:require(flash10_1) static var STRING_CLEARDISPLAY : String;
+	@:require(flash10_1) static var STRING_CLEARLINE : String;
+	@:require(flash10_1) static var STRING_DELETE : String;
+	@:require(flash10_1) static var STRING_DELETECHAR : String;
+	@:require(flash10_1) static var STRING_DELETELINE : String;
+	@:require(flash10_1) static var STRING_DOWNARROW : String;
+	@:require(flash10_1) static var STRING_END : String;
+	@:require(flash10_1) static var STRING_EXECUTE : String;
+	@:require(flash10_1) static var STRING_F1 : String;
+	@:require(flash10_1) static var STRING_F10 : String;
+	@:require(flash10_1) static var STRING_F11 : String;
+	@:require(flash10_1) static var STRING_F12 : String;
+	@:require(flash10_1) static var STRING_F13 : String;
+	@:require(flash10_1) static var STRING_F14 : String;
+	@:require(flash10_1) static var STRING_F15 : String;
+	@:require(flash10_1) static var STRING_F16 : String;
+	@:require(flash10_1) static var STRING_F17 : String;
+	@:require(flash10_1) static var STRING_F18 : String;
+	@:require(flash10_1) static var STRING_F19 : String;
+	@:require(flash10_1) static var STRING_F2 : String;
+	@:require(flash10_1) static var STRING_F20 : String;
+	@:require(flash10_1) static var STRING_F21 : String;
+	@:require(flash10_1) static var STRING_F22 : String;
+	@:require(flash10_1) static var STRING_F23 : String;
+	@:require(flash10_1) static var STRING_F24 : String;
+	@:require(flash10_1) static var STRING_F25 : String;
+	@:require(flash10_1) static var STRING_F26 : String;
+	@:require(flash10_1) static var STRING_F27 : String;
+	@:require(flash10_1) static var STRING_F28 : String;
+	@:require(flash10_1) static var STRING_F29 : String;
+	@:require(flash10_1) static var STRING_F3 : String;
+	@:require(flash10_1) static var STRING_F30 : String;
+	@:require(flash10_1) static var STRING_F31 : String;
+	@:require(flash10_1) static var STRING_F32 : String;
+	@:require(flash10_1) static var STRING_F33 : String;
+	@:require(flash10_1) static var STRING_F34 : String;
+	@:require(flash10_1) static var STRING_F35 : String;
+	@:require(flash10_1) static var STRING_F4 : String;
+	@:require(flash10_1) static var STRING_F5 : String;
+	@:require(flash10_1) static var STRING_F6 : String;
+	@:require(flash10_1) static var STRING_F7 : String;
+	@:require(flash10_1) static var STRING_F8 : String;
+	@:require(flash10_1) static var STRING_F9 : String;
+	@:require(flash10_1) static var STRING_FIND : String;
+	@:require(flash10_1) static var STRING_HELP : String;
+	@:require(flash10_1) static var STRING_HOME : String;
+	@:require(flash10_1) static var STRING_INSERT : String;
+	@:require(flash10_1) static var STRING_INSERTCHAR : String;
+	@:require(flash10_1) static var STRING_INSERTLINE : String;
+	@:require(flash10_1) static var STRING_LEFTARROW : String;
+	@:require(flash10_1) static var STRING_MENU : String;
+	@:require(flash10_1) static var STRING_MODESWITCH : String;
+	@:require(flash10_1) static var STRING_NEXT : String;
+	@:require(flash10_1) static var STRING_PAGEDOWN : String;
+	@:require(flash10_1) static var STRING_PAGEUP : String;
+	@:require(flash10_1) static var STRING_PAUSE : String;
+	@:require(flash10_1) static var STRING_PREV : String;
+	@:require(flash10_1) static var STRING_PRINT : String;
+	@:require(flash10_1) static var STRING_PRINTSCREEN : String;
+	@:require(flash10_1) static var STRING_REDO : String;
+	@:require(flash10_1) static var STRING_RESET : String;
+	@:require(flash10_1) static var STRING_RIGHTARROW : String;
+	@:require(flash10_1) static var STRING_SCROLLLOCK : String;
+	@:require(flash10_1) static var STRING_SELECT : String;
+	@:require(flash10_1) static var STRING_STOP : String;
+	@:require(flash10_1) static var STRING_SYSREQ : String;
+	@:require(flash10_1) static var STRING_SYSTEM : String;
+	@:require(flash10_1) static var STRING_UNDO : String;
+	@:require(flash10_1) static var STRING_UPARROW : String;
+	@:require(flash10_1) static var STRING_USER : String;
+	@:require(flash10_1) static var T : UInt;
 	static var TAB : UInt;
+	@:require(flash10_1) static var U : UInt;
 	static var UP : UInt;
+	@:require(flash10_1) static var V : UInt;
+	@:require(flash10_1) static var W : UInt;
+	@:require(flash10_1) static var X : UInt;
+	@:require(flash10_1) static var Y : UInt;
+	@:require(flash10_1) static var Z : UInt;
 	static var capsLock(default,null) : Bool;
+	@:require(flash10_1) static var hasVirtualKeyboard(default,null) : Bool;
 	static var numLock(default,null) : Bool;
+	@:require(flash10_1) static var physicalKeyboardType(default,null) : KeyboardType;
 	static function isAccessible() : Bool;
 }

+ 7 - 0
std/flash9/ui/KeyboardType.hx

@@ -0,0 +1,7 @@
+package flash.ui;
+
+extern enum KeyboardType {
+	ALPHANUMERIC;
+	KEYPAD;
+	NONE;
+}

+ 1 - 0
std/flash9/ui/Mouse.hx

@@ -2,6 +2,7 @@ package flash.ui;
 
 extern class Mouse {
 	@:require(flash10) static var cursor : MouseCursor;
+	@:require(flash10) static var supportsCursor(default,null) : Bool;
 	static function hide() : Void;
 	static function show() : Void;
 }

+ 9 - 0
std/flash9/ui/Multitouch.hx

@@ -0,0 +1,9 @@
+package flash.ui;
+
+@:require(flash10_1) extern class Multitouch {
+	static var inputMode : MultitouchInputMode;
+	static var maxTouchPoints(default,null) : Int;
+	static var supportedGestures(default,null) : flash.Vector<String>;
+	static var supportsGestureEvents(default,null) : Bool;
+	static var supportsTouchEvents(default,null) : Bool;
+}

+ 7 - 0
std/flash9/ui/MultitouchInputMode.hx

@@ -0,0 +1,7 @@
+package flash.ui;
+
+extern enum MultitouchInputMode {
+	GESTURE;
+	NONE;
+	TOUCH_POINT;
+}

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini