@afterswf/playerglobal 0.0.0-stage → 0.2.460
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +101 -0
- package/.gitattributes +1 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
- package/.prettierrc +8 -0
- package/LICENSE +201 -0
- package/README.md +1 -3
- package/bundle/awayfl-playerglobal.umd.js +2 -0
- package/bundle/awayfl-playerglobal.umd.js.map +1 -0
- package/copyVersionToIndex.js +24 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/lib/ILoader.d.ts +10 -0
- package/dist/lib/ILoader.d.ts.map +1 -0
- package/dist/lib/ILoader.js +1 -0
- package/dist/lib/PlayerGlobal.d.ts +28 -0
- package/dist/lib/PlayerGlobal.d.ts.map +1 -0
- package/dist/lib/PlayerGlobal.js +223 -0
- package/dist/lib/SecurityDomain.d.ts +195 -0
- package/dist/lib/SecurityDomain.d.ts.map +1 -0
- package/dist/lib/SecurityDomain.js +205 -0
- package/dist/lib/Settings.d.ts +5 -0
- package/dist/lib/Settings.d.ts.map +1 -0
- package/dist/lib/Settings.js +7 -0
- package/dist/lib/desktop/Clipboard.d.ts +251 -0
- package/dist/lib/desktop/Clipboard.d.ts.map +1 -0
- package/dist/lib/desktop/Clipboard.js +289 -0
- package/dist/lib/desktop/ClipboardFormats.d.ts +43 -0
- package/dist/lib/desktop/ClipboardFormats.d.ts.map +1 -0
- package/dist/lib/desktop/ClipboardFormats.js +45 -0
- package/dist/lib/display/Bitmap.d.ts +91 -0
- package/dist/lib/display/Bitmap.d.ts.map +1 -0
- package/dist/lib/display/Bitmap.js +168 -0
- package/dist/lib/display/BitmapData.d.ts +63 -0
- package/dist/lib/display/BitmapData.d.ts.map +1 -0
- package/dist/lib/display/BitmapData.js +315 -0
- package/dist/lib/display/BitmapDataChannel.d.ts +12 -0
- package/dist/lib/display/BitmapDataChannel.d.ts.map +1 -0
- package/dist/lib/display/BitmapDataChannel.js +21 -0
- package/dist/lib/display/DisplayObject.d.ts +986 -0
- package/dist/lib/display/DisplayObject.d.ts.map +1 -0
- package/dist/lib/display/DisplayObject.js +1553 -0
- package/dist/lib/display/DisplayObjectContainer.d.ts +327 -0
- package/dist/lib/display/DisplayObjectContainer.d.ts.map +1 -0
- package/dist/lib/display/DisplayObjectContainer.js +599 -0
- package/dist/lib/display/FrameLabel.d.ts +11 -0
- package/dist/lib/display/FrameLabel.d.ts.map +1 -0
- package/dist/lib/display/FrameLabel.js +34 -0
- package/dist/lib/display/Graphics.d.ts +94 -0
- package/dist/lib/display/Graphics.d.ts.map +1 -0
- package/dist/lib/display/Graphics.js +473 -0
- package/dist/lib/display/GraphicsBitmapFill.d.ts +13 -0
- package/dist/lib/display/GraphicsBitmapFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsBitmapFill.js +36 -0
- package/dist/lib/display/GraphicsEndFill.d.ts +7 -0
- package/dist/lib/display/GraphicsEndFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsEndFill.js +11 -0
- package/dist/lib/display/GraphicsGradientFill.d.ts +16 -0
- package/dist/lib/display/GraphicsGradientFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsGradientFill.js +28 -0
- package/dist/lib/display/GraphicsPath.d.ts +22 -0
- package/dist/lib/display/GraphicsPath.d.ts.map +1 -0
- package/dist/lib/display/GraphicsPath.js +63 -0
- package/dist/lib/display/GraphicsSolidFill.d.ts +9 -0
- package/dist/lib/display/GraphicsSolidFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsSolidFill.js +16 -0
- package/dist/lib/display/GraphicsStroke.d.ts +14 -0
- package/dist/lib/display/GraphicsStroke.d.ts.map +1 -0
- package/dist/lib/display/GraphicsStroke.js +26 -0
- package/dist/lib/display/GraphicsTrianglePath.d.ts +11 -0
- package/dist/lib/display/GraphicsTrianglePath.d.ts.map +1 -0
- package/dist/lib/display/GraphicsTrianglePath.js +20 -0
- package/dist/lib/display/IBitmapDataOwner.d.ts +6 -0
- package/dist/lib/display/IBitmapDataOwner.d.ts.map +1 -0
- package/dist/lib/display/IBitmapDataOwner.js +1 -0
- package/dist/lib/display/IBitmapDrawable.d.ts +10 -0
- package/dist/lib/display/IBitmapDrawable.d.ts.map +1 -0
- package/dist/lib/display/IBitmapDrawable.js +1 -0
- package/dist/lib/display/IGraphicsData.d.ts +13 -0
- package/dist/lib/display/IGraphicsData.d.ts.map +1 -0
- package/dist/lib/display/IGraphicsData.js +1 -0
- package/dist/lib/display/IVirtualSceneGraphItem.d.ts +9 -0
- package/dist/lib/display/IVirtualSceneGraphItem.d.ts.map +1 -0
- package/dist/lib/display/IVirtualSceneGraphItem.js +1 -0
- package/dist/lib/display/InteractiveObject.d.ts +502 -0
- package/dist/lib/display/InteractiveObject.d.ts.map +1 -0
- package/dist/lib/display/InteractiveObject.js +927 -0
- package/dist/lib/display/Loader.d.ts +492 -0
- package/dist/lib/display/Loader.d.ts.map +1 -0
- package/dist/lib/display/Loader.js +704 -0
- package/dist/lib/display/LoaderInfo.d.ts +480 -0
- package/dist/lib/display/LoaderInfo.d.ts.map +1 -0
- package/dist/lib/display/LoaderInfo.js +765 -0
- package/dist/lib/display/MovieClip.d.ts +201 -0
- package/dist/lib/display/MovieClip.d.ts.map +1 -0
- package/dist/lib/display/MovieClip.js +540 -0
- package/dist/lib/display/NativeMenu.d.ts +8 -0
- package/dist/lib/display/NativeMenu.d.ts.map +1 -0
- package/dist/lib/display/NativeMenu.js +13 -0
- package/dist/lib/display/NativeMenuItem.d.ts +11 -0
- package/dist/lib/display/NativeMenuItem.d.ts.map +1 -0
- package/dist/lib/display/NativeMenuItem.js +35 -0
- package/dist/lib/display/Scene.d.ts +23 -0
- package/dist/lib/display/Scene.d.ts.map +1 -0
- package/dist/lib/display/Scene.js +70 -0
- package/dist/lib/display/Shape.d.ts +38 -0
- package/dist/lib/display/Shape.d.ts.map +1 -0
- package/dist/lib/display/Shape.js +80 -0
- package/dist/lib/display/SimpleButton.d.ts +175 -0
- package/dist/lib/display/SimpleButton.d.ts.map +1 -0
- package/dist/lib/display/SimpleButton.js +522 -0
- package/dist/lib/display/Sprite.d.ts +204 -0
- package/dist/lib/display/Sprite.d.ts.map +1 -0
- package/dist/lib/display/Sprite.js +671 -0
- package/dist/lib/display/Stage.d.ts +723 -0
- package/dist/lib/display/Stage.d.ts.map +1 -0
- package/dist/lib/display/Stage.js +1298 -0
- package/dist/lib/errors/EOFError.d.ts +8 -0
- package/dist/lib/errors/EOFError.d.ts.map +1 -0
- package/dist/lib/errors/EOFError.js +18 -0
- package/dist/lib/errors/IOError.d.ts +8 -0
- package/dist/lib/errors/IOError.d.ts.map +1 -0
- package/dist/lib/errors/IOError.js +18 -0
- package/dist/lib/errors/IllegalOperationError.d.ts +8 -0
- package/dist/lib/errors/IllegalOperationError.d.ts.map +1 -0
- package/dist/lib/errors/IllegalOperationError.js +18 -0
- package/dist/lib/errors/InvalidSWFError.d.ts +8 -0
- package/dist/lib/errors/InvalidSWFError.d.ts.map +1 -0
- package/dist/lib/errors/InvalidSWFError.js +18 -0
- package/dist/lib/errors/MemoryError.d.ts +8 -0
- package/dist/lib/errors/MemoryError.d.ts.map +1 -0
- package/dist/lib/errors/MemoryError.js +18 -0
- package/dist/lib/errors/ScriptTimeoutError.d.ts +8 -0
- package/dist/lib/errors/ScriptTimeoutError.d.ts.map +1 -0
- package/dist/lib/errors/ScriptTimeoutError.js +18 -0
- package/dist/lib/errors/StackOverflowError.d.ts +8 -0
- package/dist/lib/errors/StackOverflowError.d.ts.map +1 -0
- package/dist/lib/errors/StackOverflowError.js +18 -0
- package/dist/lib/events/AccelerometerEvent.d.ts +13 -0
- package/dist/lib/events/AccelerometerEvent.d.ts.map +1 -0
- package/dist/lib/events/AccelerometerEvent.js +26 -0
- package/dist/lib/events/ActivityEvent.d.ts +10 -0
- package/dist/lib/events/ActivityEvent.d.ts.map +1 -0
- package/dist/lib/events/ActivityEvent.js +20 -0
- package/dist/lib/events/AsyncErrorEvent.d.ts +13 -0
- package/dist/lib/events/AsyncErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/AsyncErrorEvent.js +31 -0
- package/dist/lib/events/ContextMenuEvent.d.ts +13 -0
- package/dist/lib/events/ContextMenuEvent.d.ts.map +1 -0
- package/dist/lib/events/ContextMenuEvent.js +24 -0
- package/dist/lib/events/DataEvent.d.ts +10 -0
- package/dist/lib/events/DataEvent.d.ts.map +1 -0
- package/dist/lib/events/DataEvent.js +19 -0
- package/dist/lib/events/ErrorEvent.d.ts +30 -0
- package/dist/lib/events/ErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/ErrorEvent.js +53 -0
- package/dist/lib/events/Event.d.ts +87 -0
- package/dist/lib/events/Event.d.ts.map +1 -0
- package/dist/lib/events/Event.js +213 -0
- package/dist/lib/events/EventDispatcher.d.ts +57 -0
- package/dist/lib/events/EventDispatcher.d.ts.map +1 -0
- package/dist/lib/events/EventDispatcher.js +233 -0
- package/dist/lib/events/EventDispatcherBase.d.ts +61 -0
- package/dist/lib/events/EventDispatcherBase.d.ts.map +1 -0
- package/dist/lib/events/EventDispatcherBase.js +258 -0
- package/dist/lib/events/EventPhase.d.ts +26 -0
- package/dist/lib/events/EventPhase.d.ts.map +1 -0
- package/dist/lib/events/EventPhase.js +33 -0
- package/dist/lib/events/FocusEvent.d.ts +50 -0
- package/dist/lib/events/FocusEvent.d.ts.map +1 -0
- package/dist/lib/events/FocusEvent.js +102 -0
- package/dist/lib/events/FullScreenEvent.d.ts +12 -0
- package/dist/lib/events/FullScreenEvent.d.ts.map +1 -0
- package/dist/lib/events/FullScreenEvent.js +23 -0
- package/dist/lib/events/GameInputEvent.d.ts +27 -0
- package/dist/lib/events/GameInputEvent.d.ts.map +1 -0
- package/dist/lib/events/GameInputEvent.js +38 -0
- package/dist/lib/events/GeolocationEvent.d.ts +9 -0
- package/dist/lib/events/GeolocationEvent.d.ts.map +1 -0
- package/dist/lib/events/GeolocationEvent.js +25 -0
- package/dist/lib/events/GestureEvent.d.ts +33 -0
- package/dist/lib/events/GestureEvent.d.ts.map +1 -0
- package/dist/lib/events/GestureEvent.js +121 -0
- package/dist/lib/events/GesturePhase.d.ts +12 -0
- package/dist/lib/events/GesturePhase.d.ts.map +1 -0
- package/dist/lib/events/GesturePhase.js +18 -0
- package/dist/lib/events/HTTPStatusEvent.d.ts +40 -0
- package/dist/lib/events/HTTPStatusEvent.d.ts.map +1 -0
- package/dist/lib/events/HTTPStatusEvent.js +88 -0
- package/dist/lib/events/IEventMapper.d.ts +7 -0
- package/dist/lib/events/IEventMapper.d.ts.map +1 -0
- package/dist/lib/events/IEventMapper.js +1 -0
- package/dist/lib/events/IMEEvent.d.ts +11 -0
- package/dist/lib/events/IMEEvent.d.ts.map +1 -0
- package/dist/lib/events/IMEEvent.js +23 -0
- package/dist/lib/events/IOErrorEvent.d.ts +30 -0
- package/dist/lib/events/IOErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/IOErrorEvent.js +46 -0
- package/dist/lib/events/KeyboardEvent.d.ts +46 -0
- package/dist/lib/events/KeyboardEvent.d.ts.map +1 -0
- package/dist/lib/events/KeyboardEvent.js +115 -0
- package/dist/lib/events/MouseEvent.d.ts +88 -0
- package/dist/lib/events/MouseEvent.d.ts.map +1 -0
- package/dist/lib/events/MouseEvent.js +267 -0
- package/dist/lib/events/NetDataEvent.d.ts +12 -0
- package/dist/lib/events/NetDataEvent.d.ts.map +1 -0
- package/dist/lib/events/NetDataEvent.js +22 -0
- package/dist/lib/events/NetStatusEvent.d.ts +29 -0
- package/dist/lib/events/NetStatusEvent.d.ts.map +1 -0
- package/dist/lib/events/NetStatusEvent.js +52 -0
- package/dist/lib/events/OutputProgressEvent.d.ts +11 -0
- package/dist/lib/events/OutputProgressEvent.d.ts.map +1 -0
- package/dist/lib/events/OutputProgressEvent.js +22 -0
- package/dist/lib/events/PressAndTapGestureEvent.d.ts +11 -0
- package/dist/lib/events/PressAndTapGestureEvent.d.ts.map +1 -0
- package/dist/lib/events/PressAndTapGestureEvent.js +28 -0
- package/dist/lib/events/ProgressEvent.d.ts +33 -0
- package/dist/lib/events/ProgressEvent.d.ts.map +1 -0
- package/dist/lib/events/ProgressEvent.js +65 -0
- package/dist/lib/events/SampleDataEvent.d.ts +108 -0
- package/dist/lib/events/SampleDataEvent.d.ts.map +1 -0
- package/dist/lib/events/SampleDataEvent.js +140 -0
- package/dist/lib/events/ShaderEvent.d.ts +11 -0
- package/dist/lib/events/ShaderEvent.d.ts.map +1 -0
- package/dist/lib/events/ShaderEvent.js +20 -0
- package/dist/lib/events/SoftKeyboardEvent.d.ts +12 -0
- package/dist/lib/events/SoftKeyboardEvent.d.ts.map +1 -0
- package/dist/lib/events/SoftKeyboardEvent.js +17 -0
- package/dist/lib/events/SoftKeyboardTrigger.d.ts +10 -0
- package/dist/lib/events/SoftKeyboardTrigger.d.ts.map +1 -0
- package/dist/lib/events/SoftKeyboardTrigger.js +16 -0
- package/dist/lib/events/StageVideoAvailabilityEvent.d.ts +10 -0
- package/dist/lib/events/StageVideoAvailabilityEvent.d.ts.map +1 -0
- package/dist/lib/events/StageVideoAvailabilityEvent.js +21 -0
- package/dist/lib/events/StageVideoEvent.d.ts +14 -0
- package/dist/lib/events/StageVideoEvent.d.ts.map +1 -0
- package/dist/lib/events/StageVideoEvent.js +26 -0
- package/dist/lib/events/StaticEvents.d.ts +4 -0
- package/dist/lib/events/StaticEvents.d.ts.map +1 -0
- package/dist/lib/events/StaticEvents.js +7 -0
- package/dist/lib/events/StatusEvent.d.ts +15 -0
- package/dist/lib/events/StatusEvent.d.ts.map +1 -0
- package/dist/lib/events/StatusEvent.js +46 -0
- package/dist/lib/events/SyncEvent.d.ts +10 -0
- package/dist/lib/events/SyncEvent.d.ts.map +1 -0
- package/dist/lib/events/SyncEvent.js +21 -0
- package/dist/lib/events/TextEvent.d.ts +31 -0
- package/dist/lib/events/TextEvent.d.ts.map +1 -0
- package/dist/lib/events/TextEvent.js +55 -0
- package/dist/lib/events/ThrottleEvent.d.ts +11 -0
- package/dist/lib/events/ThrottleEvent.d.ts.map +1 -0
- package/dist/lib/events/ThrottleEvent.js +23 -0
- package/dist/lib/events/ThrottleType.d.ts +11 -0
- package/dist/lib/events/ThrottleType.d.ts.map +1 -0
- package/dist/lib/events/ThrottleType.js +17 -0
- package/dist/lib/events/TimerEvent.d.ts +13 -0
- package/dist/lib/events/TimerEvent.d.ts.map +1 -0
- package/dist/lib/events/TimerEvent.js +26 -0
- package/dist/lib/events/TouchEvent.d.ts +430 -0
- package/dist/lib/events/TouchEvent.d.ts.map +1 -0
- package/dist/lib/events/TouchEvent.js +550 -0
- package/dist/lib/events/TransformGestureEvent.d.ts +12 -0
- package/dist/lib/events/TransformGestureEvent.d.ts.map +1 -0
- package/dist/lib/events/TransformGestureEvent.js +31 -0
- package/dist/lib/events/UncaughtErrorEvent.d.ts +9 -0
- package/dist/lib/events/UncaughtErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/UncaughtErrorEvent.js +19 -0
- package/dist/lib/events/UncaughtErrorEvents.d.ts +23 -0
- package/dist/lib/events/UncaughtErrorEvents.d.ts.map +1 -0
- package/dist/lib/events/UncaughtErrorEvents.js +29 -0
- package/dist/lib/events/VideoEvent.d.ts +13 -0
- package/dist/lib/events/VideoEvent.d.ts.map +1 -0
- package/dist/lib/events/VideoEvent.js +24 -0
- package/dist/lib/external/ExternalInterface.d.ts +27 -0
- package/dist/lib/external/ExternalInterface.d.ts.map +1 -0
- package/dist/lib/external/ExternalInterface.js +298 -0
- package/dist/lib/factories/FlashSceneGraphFactory.d.ts +33 -0
- package/dist/lib/factories/FlashSceneGraphFactory.d.ts.map +1 -0
- package/dist/lib/factories/FlashSceneGraphFactory.js +175 -0
- package/dist/lib/filters/BevelFilter.d.ts +66 -0
- package/dist/lib/filters/BevelFilter.d.ts.map +1 -0
- package/dist/lib/filters/BevelFilter.js +207 -0
- package/dist/lib/filters/BitmapFilter.d.ts +27 -0
- package/dist/lib/filters/BitmapFilter.d.ts.map +1 -0
- package/dist/lib/filters/BitmapFilter.js +116 -0
- package/dist/lib/filters/BitmapFilterType.d.ts +26 -0
- package/dist/lib/filters/BitmapFilterType.d.ts.map +1 -0
- package/dist/lib/filters/BitmapFilterType.js +36 -0
- package/dist/lib/filters/BlurFilter.d.ts +23 -0
- package/dist/lib/filters/BlurFilter.d.ts.map +1 -0
- package/dist/lib/filters/BlurFilter.js +64 -0
- package/dist/lib/filters/ColorMatrixFilter.d.ts +39 -0
- package/dist/lib/filters/ColorMatrixFilter.d.ts.map +1 -0
- package/dist/lib/filters/ColorMatrixFilter.js +69 -0
- package/dist/lib/filters/ConvolutionFilter.d.ts +54 -0
- package/dist/lib/filters/ConvolutionFilter.d.ts.map +1 -0
- package/dist/lib/filters/ConvolutionFilter.js +180 -0
- package/dist/lib/filters/DisplacementMapFilter.d.ts +57 -0
- package/dist/lib/filters/DisplacementMapFilter.d.ts.map +1 -0
- package/dist/lib/filters/DisplacementMapFilter.js +159 -0
- package/dist/lib/filters/DropShadowFilter.d.ts +63 -0
- package/dist/lib/filters/DropShadowFilter.d.ts.map +1 -0
- package/dist/lib/filters/DropShadowFilter.js +185 -0
- package/dist/lib/filters/FilterBuilder.d.ts +6 -0
- package/dist/lib/filters/FilterBuilder.d.ts.map +1 -0
- package/dist/lib/filters/FilterBuilder.js +33 -0
- package/dist/lib/filters/GlowFilter.d.ts +53 -0
- package/dist/lib/filters/GlowFilter.d.ts.map +1 -0
- package/dist/lib/filters/GlowFilter.js +145 -0
- package/dist/lib/filters/GradientBevelFilter.d.ts +68 -0
- package/dist/lib/filters/GradientBevelFilter.d.ts.map +1 -0
- package/dist/lib/filters/GradientBevelFilter.js +228 -0
- package/dist/lib/filters/GradientGlowFilter.d.ts +59 -0
- package/dist/lib/filters/GradientGlowFilter.d.ts.map +1 -0
- package/dist/lib/filters/GradientGlowFilter.js +223 -0
- package/dist/lib/geom/ColorTransform.d.ts +91 -0
- package/dist/lib/geom/ColorTransform.d.ts.map +1 -0
- package/dist/lib/geom/ColorTransform.js +259 -0
- package/dist/lib/geom/Matrix.d.ts +288 -0
- package/dist/lib/geom/Matrix.d.ts.map +1 -0
- package/dist/lib/geom/Matrix.js +414 -0
- package/dist/lib/geom/Matrix3D.d.ts +45 -0
- package/dist/lib/geom/Matrix3D.d.ts.map +1 -0
- package/dist/lib/geom/Matrix3D.js +213 -0
- package/dist/lib/geom/PerspectiveProjection.d.ts +2 -0
- package/dist/lib/geom/PerspectiveProjection.d.ts.map +1 -0
- package/dist/lib/geom/PerspectiveProjection.js +1 -0
- package/dist/lib/geom/Point.d.ts +123 -0
- package/dist/lib/geom/Point.d.ts.map +1 -0
- package/dist/lib/geom/Point.js +196 -0
- package/dist/lib/geom/Rectangle.d.ts +310 -0
- package/dist/lib/geom/Rectangle.d.ts.map +1 -0
- package/dist/lib/geom/Rectangle.js +478 -0
- package/dist/lib/geom/Transform.d.ts +42 -0
- package/dist/lib/geom/Transform.d.ts.map +1 -0
- package/dist/lib/geom/Transform.js +112 -0
- package/dist/lib/geom/Vector3D.d.ts +324 -0
- package/dist/lib/geom/Vector3D.d.ts.map +1 -0
- package/dist/lib/geom/Vector3D.js +434 -0
- package/dist/lib/globalization/LocaleID.d.ts +38 -0
- package/dist/lib/globalization/LocaleID.d.ts.map +1 -0
- package/dist/lib/globalization/LocaleID.js +92 -0
- package/dist/lib/globalization/NumberFormatter.d.ts +391 -0
- package/dist/lib/globalization/NumberFormatter.d.ts.map +1 -0
- package/dist/lib/globalization/NumberFormatter.js +555 -0
- package/dist/lib/link.d.ts +2 -0
- package/dist/lib/link.d.ts.map +1 -0
- package/dist/lib/link.js +619 -0
- package/dist/lib/media/ID3Info.d.ts +60 -0
- package/dist/lib/media/ID3Info.d.ts.map +1 -0
- package/dist/lib/media/ID3Info.js +13 -0
- package/dist/lib/media/Sound.d.ts +353 -0
- package/dist/lib/media/Sound.d.ts.map +1 -0
- package/dist/lib/media/Sound.js +496 -0
- package/dist/lib/media/SoundChannel.d.ts +65 -0
- package/dist/lib/media/SoundChannel.d.ts.map +1 -0
- package/dist/lib/media/SoundChannel.js +152 -0
- package/dist/lib/media/SoundLoaderContext.d.ts +99 -0
- package/dist/lib/media/SoundLoaderContext.d.ts.map +1 -0
- package/dist/lib/media/SoundLoaderContext.js +21 -0
- package/dist/lib/media/SoundMixer.d.ts +49 -0
- package/dist/lib/media/SoundMixer.d.ts.map +1 -0
- package/dist/lib/media/SoundMixer.js +126 -0
- package/dist/lib/media/SoundTransform.d.ts +64 -0
- package/dist/lib/media/SoundTransform.d.ts.map +1 -0
- package/dist/lib/media/SoundTransform.js +146 -0
- package/dist/lib/net/FileFilter.d.ts +13 -0
- package/dist/lib/net/FileFilter.d.ts.map +1 -0
- package/dist/lib/net/FileFilter.js +40 -0
- package/dist/lib/net/FileReference.d.ts +49 -0
- package/dist/lib/net/FileReference.d.ts.map +1 -0
- package/dist/lib/net/FileReference.js +271 -0
- package/dist/lib/net/LocalConnection.d.ts +26 -0
- package/dist/lib/net/LocalConnection.d.ts.map +1 -0
- package/dist/lib/net/LocalConnection.js +251 -0
- package/dist/lib/net/NetConnection.d.ts +80 -0
- package/dist/lib/net/NetConnection.d.ts.map +1 -0
- package/dist/lib/net/NetConnection.js +447 -0
- package/dist/lib/net/Responder.d.ts +30 -0
- package/dist/lib/net/Responder.d.ts.map +1 -0
- package/dist/lib/net/Responder.js +49 -0
- package/dist/lib/net/SharedObject.d.ts +66 -0
- package/dist/lib/net/SharedObject.d.ts.map +1 -0
- package/dist/lib/net/SharedObject.js +323 -0
- package/dist/lib/net/Socket.d.ts +66 -0
- package/dist/lib/net/Socket.d.ts.map +1 -0
- package/dist/lib/net/Socket.js +248 -0
- package/dist/lib/net/URLLoader.d.ts +26 -0
- package/dist/lib/net/URLLoader.d.ts.map +1 -0
- package/dist/lib/net/URLLoader.js +116 -0
- package/dist/lib/net/URLLoaderDataFormat.d.ts +2 -0
- package/dist/lib/net/URLLoaderDataFormat.d.ts.map +1 -0
- package/dist/lib/net/URLLoaderDataFormat.js +1 -0
- package/dist/lib/net/URLRequest.d.ts +43 -0
- package/dist/lib/net/URLRequest.d.ts.map +1 -0
- package/dist/lib/net/URLRequest.js +141 -0
- package/dist/lib/net/URLVariables.d.ts +12 -0
- package/dist/lib/net/URLVariables.d.ts.map +1 -0
- package/dist/lib/net/URLVariables.js +67 -0
- package/dist/lib/system/ApplicationDomain.d.ts +104 -0
- package/dist/lib/system/ApplicationDomain.d.ts.map +1 -0
- package/dist/lib/system/ApplicationDomain.js +269 -0
- package/dist/lib/system/Capabilities.d.ts +58 -0
- package/dist/lib/system/Capabilities.d.ts.map +1 -0
- package/dist/lib/system/Capabilities.js +361 -0
- package/dist/lib/system/FSCommand.d.ts +5 -0
- package/dist/lib/system/FSCommand.d.ts.map +1 -0
- package/dist/lib/system/FSCommand.js +14 -0
- package/dist/lib/system/IME.d.ts +125 -0
- package/dist/lib/system/IME.d.ts.map +1 -0
- package/dist/lib/system/IME.js +163 -0
- package/dist/lib/system/LoaderContext.d.ts +421 -0
- package/dist/lib/system/LoaderContext.d.ts.map +1 -0
- package/dist/lib/system/LoaderContext.js +62 -0
- package/dist/lib/system/Security.d.ts +45 -0
- package/dist/lib/system/Security.d.ts.map +1 -0
- package/dist/lib/system/Security.js +107 -0
- package/dist/lib/system/SecurityDomain.d.ts +5 -0
- package/dist/lib/system/SecurityDomain.d.ts.map +1 -0
- package/dist/lib/system/SecurityDomain.js +18 -0
- package/dist/lib/system/System.d.ts +150 -0
- package/dist/lib/system/System.d.ts.map +1 -0
- package/dist/lib/system/System.js +238 -0
- package/dist/lib/system/TouchscreenType.d.ts +26 -0
- package/dist/lib/system/TouchscreenType.d.ts.map +1 -0
- package/dist/lib/system/TouchscreenType.js +35 -0
- package/dist/lib/text/CSMSettings.d.ts +11 -0
- package/dist/lib/text/CSMSettings.d.ts.map +1 -0
- package/dist/lib/text/CSMSettings.js +20 -0
- package/dist/lib/text/Font.d.ts +18 -0
- package/dist/lib/text/Font.d.ts.map +1 -0
- package/dist/lib/text/Font.js +70 -0
- package/dist/lib/text/FontType.d.ts +11 -0
- package/dist/lib/text/FontType.d.ts.map +1 -0
- package/dist/lib/text/FontType.js +17 -0
- package/dist/lib/text/StaticText.d.ts +13 -0
- package/dist/lib/text/StaticText.d.ts.map +1 -0
- package/dist/lib/text/StaticText.js +41 -0
- package/dist/lib/text/StyleSheet.d.ts +168 -0
- package/dist/lib/text/StyleSheet.d.ts.map +1 -0
- package/dist/lib/text/StyleSheet.js +198 -0
- package/dist/lib/text/TextColorType.d.ts +10 -0
- package/dist/lib/text/TextColorType.d.ts.map +1 -0
- package/dist/lib/text/TextColorType.js +15 -0
- package/dist/lib/text/TextDisplayMode.d.ts +11 -0
- package/dist/lib/text/TextDisplayMode.d.ts.map +1 -0
- package/dist/lib/text/TextDisplayMode.js +16 -0
- package/dist/lib/text/TextExtent.d.ts +11 -0
- package/dist/lib/text/TextExtent.d.ts.map +1 -0
- package/dist/lib/text/TextExtent.js +20 -0
- package/dist/lib/text/TextField.d.ts +911 -0
- package/dist/lib/text/TextField.d.ts.map +1 -0
- package/dist/lib/text/TextField.js +1398 -0
- package/dist/lib/text/TextFormat.d.ts +61 -0
- package/dist/lib/text/TextFormat.d.ts.map +1 -0
- package/dist/lib/text/TextFormat.js +266 -0
- package/dist/lib/text/TextFormatDisplay.d.ts +10 -0
- package/dist/lib/text/TextFormatDisplay.d.ts.map +1 -0
- package/dist/lib/text/TextFormatDisplay.js +19 -0
- package/dist/lib/text/TextLineMetrics.d.ts +57 -0
- package/dist/lib/text/TextLineMetrics.d.ts.map +1 -0
- package/dist/lib/text/TextLineMetrics.js +38 -0
- package/dist/lib/text/TextRenderer.d.ts +15 -0
- package/dist/lib/text/TextRenderer.d.ts.map +1 -0
- package/dist/lib/text/TextRenderer.js +71 -0
- package/dist/lib/text/TextRun.d.ts +19 -0
- package/dist/lib/text/TextRun.d.ts.map +1 -0
- package/dist/lib/text/TextRun.js +54 -0
- package/dist/lib/text/TextSnapshot.d.ts +15 -0
- package/dist/lib/text/TextSnapshot.d.ts.map +1 -0
- package/dist/lib/text/TextSnapshot.js +83 -0
- package/dist/lib/text/engine/BreakOpportunity.d.ts +11 -0
- package/dist/lib/text/engine/BreakOpportunity.d.ts.map +1 -0
- package/dist/lib/text/engine/BreakOpportunity.js +16 -0
- package/dist/lib/text/engine/CFFHinting.d.ts +9 -0
- package/dist/lib/text/engine/CFFHinting.d.ts.map +1 -0
- package/dist/lib/text/engine/CFFHinting.js +14 -0
- package/dist/lib/text/engine/ContentElement.d.ts +37 -0
- package/dist/lib/text/engine/ContentElement.d.ts.map +1 -0
- package/dist/lib/text/engine/ContentElement.js +123 -0
- package/dist/lib/text/engine/DigitCase.d.ts +10 -0
- package/dist/lib/text/engine/DigitCase.d.ts.map +1 -0
- package/dist/lib/text/engine/DigitCase.js +16 -0
- package/dist/lib/text/engine/DigitWidth.d.ts +10 -0
- package/dist/lib/text/engine/DigitWidth.d.ts.map +1 -0
- package/dist/lib/text/engine/DigitWidth.js +16 -0
- package/dist/lib/text/engine/EastAsianJustifier.d.ts +12 -0
- package/dist/lib/text/engine/EastAsianJustifier.d.ts.map +1 -0
- package/dist/lib/text/engine/EastAsianJustifier.js +50 -0
- package/dist/lib/text/engine/ElementFormat.d.ts +69 -0
- package/dist/lib/text/engine/ElementFormat.d.ts.map +1 -0
- package/dist/lib/text/engine/ElementFormat.js +291 -0
- package/dist/lib/text/engine/FontDescription.d.ts +31 -0
- package/dist/lib/text/engine/FontDescription.d.ts.map +1 -0
- package/dist/lib/text/engine/FontDescription.js +113 -0
- package/dist/lib/text/engine/FontLookup.d.ts +9 -0
- package/dist/lib/text/engine/FontLookup.d.ts.map +1 -0
- package/dist/lib/text/engine/FontLookup.js +15 -0
- package/dist/lib/text/engine/FontMetrics.d.ts +18 -0
- package/dist/lib/text/engine/FontMetrics.d.ts.map +1 -0
- package/dist/lib/text/engine/FontMetrics.js +24 -0
- package/dist/lib/text/engine/FontPosture.d.ts +9 -0
- package/dist/lib/text/engine/FontPosture.d.ts.map +1 -0
- package/dist/lib/text/engine/FontPosture.js +15 -0
- package/dist/lib/text/engine/FontWeight.d.ts +9 -0
- package/dist/lib/text/engine/FontWeight.d.ts.map +1 -0
- package/dist/lib/text/engine/FontWeight.js +15 -0
- package/dist/lib/text/engine/GraphicElement.d.ts +16 -0
- package/dist/lib/text/engine/GraphicElement.d.ts.map +1 -0
- package/dist/lib/text/engine/GraphicElement.js +72 -0
- package/dist/lib/text/engine/GroupElement.d.ts +23 -0
- package/dist/lib/text/engine/GroupElement.d.ts.map +1 -0
- package/dist/lib/text/engine/GroupElement.js +102 -0
- package/dist/lib/text/engine/JustificationStyle.d.ts +10 -0
- package/dist/lib/text/engine/JustificationStyle.d.ts.map +1 -0
- package/dist/lib/text/engine/JustificationStyle.js +16 -0
- package/dist/lib/text/engine/Kerning.d.ts +10 -0
- package/dist/lib/text/engine/Kerning.d.ts.map +1 -0
- package/dist/lib/text/engine/Kerning.js +16 -0
- package/dist/lib/text/engine/LigatureLevel.d.ts +12 -0
- package/dist/lib/text/engine/LigatureLevel.d.ts.map +1 -0
- package/dist/lib/text/engine/LigatureLevel.js +18 -0
- package/dist/lib/text/engine/LineJustification.d.ts +11 -0
- package/dist/lib/text/engine/LineJustification.d.ts.map +1 -0
- package/dist/lib/text/engine/LineJustification.js +17 -0
- package/dist/lib/text/engine/NativehacksForTLF.d.ts +22 -0
- package/dist/lib/text/engine/NativehacksForTLF.d.ts.map +1 -0
- package/dist/lib/text/engine/NativehacksForTLF.js +70 -0
- package/dist/lib/text/engine/RenderingMode.d.ts +9 -0
- package/dist/lib/text/engine/RenderingMode.d.ts.map +1 -0
- package/dist/lib/text/engine/RenderingMode.js +15 -0
- package/dist/lib/text/engine/SpaceJustifier.d.ts +20 -0
- package/dist/lib/text/engine/SpaceJustifier.d.ts.map +1 -0
- package/dist/lib/text/engine/SpaceJustifier.js +58 -0
- package/dist/lib/text/engine/TabAlignment.d.ts +11 -0
- package/dist/lib/text/engine/TabAlignment.d.ts.map +1 -0
- package/dist/lib/text/engine/TabAlignment.js +17 -0
- package/dist/lib/text/engine/TabStop.d.ts +13 -0
- package/dist/lib/text/engine/TabStop.d.ts.map +1 -0
- package/dist/lib/text/engine/TabStop.js +66 -0
- package/dist/lib/text/engine/TextBaseline.d.ts +14 -0
- package/dist/lib/text/engine/TextBaseline.d.ts.map +1 -0
- package/dist/lib/text/engine/TextBaseline.js +20 -0
- package/dist/lib/text/engine/TextBlock.d.ts +76 -0
- package/dist/lib/text/engine/TextBlock.d.ts.map +1 -0
- package/dist/lib/text/engine/TextBlock.js +500 -0
- package/dist/lib/text/engine/TextElement.d.ts +12 -0
- package/dist/lib/text/engine/TextElement.d.ts.map +1 -0
- package/dist/lib/text/engine/TextElement.js +45 -0
- package/dist/lib/text/engine/TextJustifier.d.ts +15 -0
- package/dist/lib/text/engine/TextJustifier.d.ts.map +1 -0
- package/dist/lib/text/engine/TextJustifier.js +46 -0
- package/dist/lib/text/engine/TextLine.d.ts +86 -0
- package/dist/lib/text/engine/TextLine.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLine.js +381 -0
- package/dist/lib/text/engine/TextLineCreationResult.d.ts +11 -0
- package/dist/lib/text/engine/TextLineCreationResult.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLineCreationResult.js +17 -0
- package/dist/lib/text/engine/TextLineMirrorRegion.d.ts +17 -0
- package/dist/lib/text/engine/TextLineMirrorRegion.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLineMirrorRegion.js +75 -0
- package/dist/lib/text/engine/TextLineValidity.d.ts +11 -0
- package/dist/lib/text/engine/TextLineValidity.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLineValidity.js +17 -0
- package/dist/lib/text/engine/TextRotation.d.ts +12 -0
- package/dist/lib/text/engine/TextRotation.d.ts.map +1 -0
- package/dist/lib/text/engine/TextRotation.js +18 -0
- package/dist/lib/text/engine/TypographicCase.d.ts +14 -0
- package/dist/lib/text/engine/TypographicCase.d.ts.map +1 -0
- package/dist/lib/text/engine/TypographicCase.js +20 -0
- package/dist/lib/text/ime/CompositionAttributeRange.d.ts +12 -0
- package/dist/lib/text/ime/CompositionAttributeRange.d.ts.map +1 -0
- package/dist/lib/text/ime/CompositionAttributeRange.js +20 -0
- package/dist/lib/ui/ContextMenu.d.ts +29 -0
- package/dist/lib/ui/ContextMenu.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenu.js +128 -0
- package/dist/lib/ui/ContextMenuBuiltInItems.d.ts +31 -0
- package/dist/lib/ui/ContextMenuBuiltInItems.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenuBuiltInItems.js +112 -0
- package/dist/lib/ui/ContextMenuClipboardItems.d.ts +24 -0
- package/dist/lib/ui/ContextMenuClipboardItems.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenuClipboardItems.js +99 -0
- package/dist/lib/ui/ContextMenuItem.d.ts +19 -0
- package/dist/lib/ui/ContextMenuItem.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenuItem.js +62 -0
- package/dist/lib/ui/GameInput.d.ts +12 -0
- package/dist/lib/ui/GameInput.d.ts.map +1 -0
- package/dist/lib/ui/GameInput.js +49 -0
- package/dist/lib/ui/GameInputControl.d.ts +17 -0
- package/dist/lib/ui/GameInputControl.d.ts.map +1 -0
- package/dist/lib/ui/GameInputControl.js +95 -0
- package/dist/lib/ui/GameInputControlType.d.ts +14 -0
- package/dist/lib/ui/GameInputControlType.d.ts.map +1 -0
- package/dist/lib/ui/GameInputControlType.js +23 -0
- package/dist/lib/ui/GameInputDevice.d.ts +21 -0
- package/dist/lib/ui/GameInputDevice.d.ts.map +1 -0
- package/dist/lib/ui/GameInputDevice.js +105 -0
- package/dist/lib/ui/GameInputFinger.d.ts +12 -0
- package/dist/lib/ui/GameInputFinger.d.ts.map +1 -0
- package/dist/lib/ui/GameInputFinger.js +21 -0
- package/dist/lib/ui/GameInputHand.d.ts +11 -0
- package/dist/lib/ui/GameInputHand.d.ts.map +1 -0
- package/dist/lib/ui/GameInputHand.js +20 -0
- package/dist/lib/ui/Keyboard.d.ts +36 -0
- package/dist/lib/ui/Keyboard.d.ts.map +1 -0
- package/dist/lib/ui/Keyboard.js +383 -0
- package/dist/lib/ui/Mouse.d.ts +14 -0
- package/dist/lib/ui/Mouse.d.ts.map +1 -0
- package/dist/lib/ui/Mouse.js +78 -0
- package/dist/lib/ui/MouseCursorData.d.ts +24 -0
- package/dist/lib/ui/MouseCursorData.d.ts.map +1 -0
- package/dist/lib/ui/MouseCursorData.js +55 -0
- package/dist/lib/ui/Multitouch.d.ts +78 -0
- package/dist/lib/ui/Multitouch.d.ts.map +1 -0
- package/dist/lib/ui/Multitouch.js +135 -0
- package/dist/lib/ui/MultitouchInputMode.d.ts +26 -0
- package/dist/lib/ui/MultitouchInputMode.d.ts.map +1 -0
- package/dist/lib/ui/MultitouchInputMode.js +29 -0
- package/dist/lib/utils/ByteArray.d.ts +2 -0
- package/dist/lib/utils/ByteArray.d.ts.map +1 -0
- package/dist/lib/utils/ByteArray.js +1 -0
- package/dist/lib/utils/CompressionAlgorithm.d.ts +7 -0
- package/dist/lib/utils/CompressionAlgorithm.d.ts.map +1 -0
- package/dist/lib/utils/CompressionAlgorithm.js +13 -0
- package/dist/lib/utils/IDataInput.d.ts +175 -0
- package/dist/lib/utils/IDataInput.d.ts.map +1 -0
- package/dist/lib/utils/IDataInput.js +1 -0
- package/dist/lib/utils/IDataOutput.d.ts +131 -0
- package/dist/lib/utils/IDataOutput.d.ts.map +1 -0
- package/dist/lib/utils/IDataOutput.js +1 -0
- package/dist/lib/utils/IExternalizable.d.ts +35 -0
- package/dist/lib/utils/IExternalizable.d.ts.map +1 -0
- package/dist/lib/utils/IExternalizable.js +1 -0
- package/dist/lib/utils/Timer.d.ts +28 -0
- package/dist/lib/utils/Timer.d.ts.map +1 -0
- package/dist/lib/utils/Timer.js +115 -0
- package/index.ts +21 -0
- package/lib/ILoader.ts +14 -0
- package/lib/PlayerGlobal.ts +278 -0
- package/lib/RegisterCode.ts +10 -0
- package/lib/SecurityDomain.ts +194 -0
- package/lib/Settings.ts +15 -0
- package/lib/_shumway_flash/accessibility/Accessibility.ts +40 -0
- package/lib/_shumway_flash/accessibility/AccessibilityImplementation.ts +40 -0
- package/lib/_shumway_flash/accessibility/AccessibilityProperties.ts +29 -0
- package/lib/_shumway_flash/accessibility/ISearchableText.ts +4 -0
- package/lib/_shumway_flash/accessibility/ISimpleTextSelection.ts +4 -0
- package/lib/_shumway_flash/automation/ActionGenerator.ts +14 -0
- package/lib/_shumway_flash/automation/AutomationAction.ts +14 -0
- package/lib/_shumway_flash/automation/Configuration.ts +23 -0
- package/lib/_shumway_flash/automation/KeyboardAutomationAction.ts +16 -0
- package/lib/_shumway_flash/automation/MouseAutomationAction.ts +20 -0
- package/lib/_shumway_flash/automation/StageCapture.ts +50 -0
- package/lib/_shumway_flash/automation/StageCaptureEvent.ts +21 -0
- package/lib/_shumway_flash/desktop/ClipboardTransferMode.ts +24 -0
- package/lib/_shumway_flash/display/AVM1Movie.ts +157 -0
- package/lib/_shumway_flash/display/ActionScriptVersion.ts +21 -0
- package/lib/_shumway_flash/display/BitmapEncodingColorSpace.ts +24 -0
- package/lib/_shumway_flash/display/ColorCorrection.ts +50 -0
- package/lib/_shumway_flash/display/ColorCorrectionSupport.ts +50 -0
- package/lib/_shumway_flash/display/FocusDirection.ts +23 -0
- package/lib/_shumway_flash/display/GraphicsBitmapFill.ts +35 -0
- package/lib/_shumway_flash/display/GraphicsEndFill.ts +23 -0
- package/lib/_shumway_flash/display/GraphicsGradientFill.ts +31 -0
- package/lib/_shumway_flash/display/GraphicsShaderFill.ts +30 -0
- package/lib/_shumway_flash/display/GraphicsSolidFill.ts +28 -0
- package/lib/_shumway_flash/display/GraphicsStroke.ts +48 -0
- package/lib/_shumway_flash/display/GraphicsTrianglePath.ts +38 -0
- package/lib/_shumway_flash/display/JPEGEncoderOptions.ts +25 -0
- package/lib/_shumway_flash/display/JPEGXREncoderOptions.ts +24 -0
- package/lib/_shumway_flash/display/MorphShape.ts +70 -0
- package/lib/_shumway_flash/display/PNGEncoderOptions.ts +25 -0
- package/lib/_shumway_flash/display/SWFVersion.ts +34 -0
- package/lib/_shumway_flash/display/Shader.ts +46 -0
- package/lib/_shumway_flash/display/ShaderData.ts +20 -0
- package/lib/_shumway_flash/display/ShaderInput.ts +63 -0
- package/lib/_shumway_flash/display/ShaderJob.ts +81 -0
- package/lib/_shumway_flash/display/ShaderParameter.ts +43 -0
- package/lib/_shumway_flash/display/ShaderParameterType.ts +37 -0
- package/lib/_shumway_flash/display/ShaderPrecision.ts +24 -0
- package/lib/_shumway_flash/display/Stage3D.ts +64 -0
- package/lib/_shumway_flash/display/StageAlign.ts +69 -0
- package/lib/_shumway_flash/display/StageDisplayState.ts +50 -0
- package/lib/_shumway_flash/display/StageQuality.ts +75 -0
- package/lib/_shumway_flash/display/StageScaleMode.ts +66 -0
- package/lib/_shumway_flash/display/interfaces.ts +6 -0
- package/lib/_shumway_flash/display3D/Context3DBlendFactor.ts +50 -0
- package/lib/_shumway_flash/display3D/Context3DCompareMode.ts +48 -0
- package/lib/_shumway_flash/display3D/Context3DProfile.ts +42 -0
- package/lib/_shumway_flash/display3D/Context3DRenderMode.ts +42 -0
- package/lib/_shumway_flash/display3D/Context3DStencilAction.ts +48 -0
- package/lib/_shumway_flash/display3D/Context3DTextureFormat.ts +43 -0
- package/lib/_shumway_flash/display3D/Context3DTriangleFace.ts +44 -0
- package/lib/_shumway_flash/display3D/Context3DVertexBufferFormat.ts +45 -0
- package/lib/_shumway_flash/display3D/IndexBuffer3D.ts +53 -0
- package/lib/_shumway_flash/display3D/Program3D.ts +48 -0
- package/lib/_shumway_flash/display3D/VertexBuffer3D.ts +35 -0
- package/lib/_shumway_flash/display3D/textures/CubeTexture.ts +50 -0
- package/lib/_shumway_flash/display3D/textures/TextureBase.ts +39 -0
- package/lib/_shumway_flash/filters/BitmapFilterQuality.ts +25 -0
- package/lib/_shumway_flash/filters/DisplacementMapFilterMode.ts +25 -0
- package/lib/_shumway_flash/filters/ShaderFilter.ts +43 -0
- package/lib/_shumway_flash/globalization/Collator.ts +148 -0
- package/lib/_shumway_flash/globalization/CollatorMode.ts +37 -0
- package/lib/_shumway_flash/globalization/CurrencyFormatter.ts +232 -0
- package/lib/_shumway_flash/globalization/CurrencyParseResult.ts +57 -0
- package/lib/_shumway_flash/globalization/DateTimeFormatter.ts +110 -0
- package/lib/_shumway_flash/globalization/DateTimeNameContext.ts +42 -0
- package/lib/_shumway_flash/globalization/DateTimeNameStyle.ts +43 -0
- package/lib/_shumway_flash/globalization/DateTimeStyle.ts +45 -0
- package/lib/_shumway_flash/globalization/LastOperationStatus.ts +57 -0
- package/lib/_shumway_flash/globalization/LocaleID.ts +86 -0
- package/lib/_shumway_flash/globalization/NationalDigitsType.ts +72 -0
- package/lib/_shumway_flash/globalization/NumberParseResult.ts +63 -0
- package/lib/_shumway_flash/media/AudioDecoder.ts +44 -0
- package/lib/_shumway_flash/media/Camera.ts +167 -0
- package/lib/_shumway_flash/media/H264Level.ts +54 -0
- package/lib/_shumway_flash/media/H264Profile.ts +40 -0
- package/lib/_shumway_flash/media/H264VideoStreamSettings.ts +48 -0
- package/lib/_shumway_flash/media/Microphone.ts +217 -0
- package/lib/_shumway_flash/media/MicrophoneEnhancedMode.ts +43 -0
- package/lib/_shumway_flash/media/MicrophoneEnhancedOptions.ts +49 -0
- package/lib/_shumway_flash/media/SoundCodec.ts +42 -0
- package/lib/_shumway_flash/media/StageVideo.ts +119 -0
- package/lib/_shumway_flash/media/StageVideoAvailability.ts +40 -0
- package/lib/_shumway_flash/media/Video.ts +151 -0
- package/lib/_shumway_flash/media/VideoCodec.ts +41 -0
- package/lib/_shumway_flash/media/VideoStatus.ts +41 -0
- package/lib/_shumway_flash/media/VideoStreamSettings.ts +56 -0
- package/lib/_shumway_flash/net/DynamicPropertyOutput.ts +45 -0
- package/lib/_shumway_flash/net/FileFilter.ts +66 -0
- package/lib/_shumway_flash/net/FileReferenceList.ts +39 -0
- package/lib/_shumway_flash/net/GroupSpecifier.ts +67 -0
- package/lib/_shumway_flash/net/IDynamicPropertyOutput.ts +25 -0
- package/lib/_shumway_flash/net/IDynamicPropertyWriter.ts +28 -0
- package/lib/_shumway_flash/net/LocalConnection.ts +249 -0
- package/lib/_shumway_flash/net/NetConnection.ts +268 -0
- package/lib/_shumway_flash/net/NetGroup.ts +88 -0
- package/lib/_shumway_flash/net/NetGroupInfo.ts +54 -0
- package/lib/_shumway_flash/net/NetGroupReceiveMode.ts +37 -0
- package/lib/_shumway_flash/net/NetGroupReplicationStrategy.ts +40 -0
- package/lib/_shumway_flash/net/NetGroupSendMode.ts +37 -0
- package/lib/_shumway_flash/net/NetGroupSendResult.ts +38 -0
- package/lib/_shumway_flash/net/NetMonitor.ts +38 -0
- package/lib/_shumway_flash/net/NetStream.ts +1078 -0
- package/lib/_shumway_flash/net/NetStreamAppendBytesAction.ts +38 -0
- package/lib/_shumway_flash/net/NetStreamInfo.ts +119 -0
- package/lib/_shumway_flash/net/NetStreamMulticastInfo.ts +103 -0
- package/lib/_shumway_flash/net/NetStreamPlayOptions.ts +45 -0
- package/lib/_shumway_flash/net/NetStreamPlayTransitions.ts +45 -0
- package/lib/_shumway_flash/net/Responder.ts +40 -0
- package/lib/_shumway_flash/net/SecureSocket.ts +60 -0
- package/lib/_shumway_flash/net/SharedObjectFlushStatus.ts +37 -0
- package/lib/_shumway_flash/net/Socket.ts +230 -0
- package/lib/_shumway_flash/net/URLRequestHeader.ts +22 -0
- package/lib/_shumway_flash/net/URLStream.ts +206 -0
- package/lib/_shumway_flash/net/XMLSocket.ts +32 -0
- package/lib/_shumway_flash/printing/PrintJob.ts +42 -0
- package/lib/_shumway_flash/printing/PrintJobOptions.ts +25 -0
- package/lib/_shumway_flash/printing/PrintJobOrientation.ts +24 -0
- package/lib/_shumway_flash/profiler/Telemetry.ts +48 -0
- package/lib/_shumway_flash/sampler/ClassFactory.ts +22 -0
- package/lib/_shumway_flash/sampler/DeleteObjectSample.ts +20 -0
- package/lib/_shumway_flash/sampler/StackFrame.ts +22 -0
- package/lib/_shumway_flash/security/CertificateStatus.ts +28 -0
- package/lib/_shumway_flash/security/X500DistinguishedName.ts +56 -0
- package/lib/_shumway_flash/security/X509Certificate.ts +87 -0
- package/lib/_shumway_flash/sensors/Accelerometer.ts +35 -0
- package/lib/_shumway_flash/sensors/Geolocation.ts +33 -0
- package/lib/_shumway_flash/system/ApplicationInstaller.ts +57 -0
- package/lib/_shumway_flash/system/AuthorizedFeatures.ts +58 -0
- package/lib/_shumway_flash/system/AuthorizedFeaturesLoader.ts +49 -0
- package/lib/_shumway_flash/system/DomainMemoryWithStage3D.ts +33 -0
- package/lib/_shumway_flash/system/IMEConversionMode.ts +43 -0
- package/lib/_shumway_flash/system/ImageDecodingPolicy.ts +36 -0
- package/lib/_shumway_flash/system/JPEGLoaderContext.ts +42 -0
- package/lib/_shumway_flash/system/MessageChannel.ts +65 -0
- package/lib/_shumway_flash/system/MessageChannelState.ts +38 -0
- package/lib/_shumway_flash/system/SecurityPanel.ts +42 -0
- package/lib/_shumway_flash/system/SystemUpdater.ts +36 -0
- package/lib/_shumway_flash/system/SystemUpdaterType.ts +37 -0
- package/lib/_shumway_flash/ui/KeyLocation.ts +39 -0
- package/lib/_shumway_flash/ui/KeyboardType.ts +37 -0
- package/lib/_shumway_flash/ui/MouseCursor.ts +75 -0
- package/lib/_shumway_flash/ui/MouseCursorData.ts +72 -0
- package/lib/_shumway_flash/utils/CompressionAlgorithm.ts +20 -0
- package/lib/_shumway_flash/utils/IDataInput2.ts +9 -0
- package/lib/_shumway_flash/utils/IDataOutput2.ts +9 -0
- package/lib/_shumway_flash/utils/IExternalizable.ts +13 -0
- package/lib/_shumway_flash/utils/SetIntervalTimer.ts +20 -0
- package/lib/_shumway_flash/utils/Timer.ts +111 -0
- package/lib/desktop/Clipboard.ts +292 -0
- package/lib/desktop/ClipboardFormats.ts +51 -0
- package/lib/display/Bitmap.ts +189 -0
- package/lib/display/BitmapData.ts +496 -0
- package/lib/display/BitmapDataChannel.ts +24 -0
- package/lib/display/BlendMode.ts +1 -0
- package/lib/display/CapsStyle.ts +1 -0
- package/lib/display/DisplayObject.ts +1601 -0
- package/lib/display/DisplayObjectContainer.ts +640 -0
- package/lib/display/FrameLabel.ts +30 -0
- package/lib/display/GradientType.ts +1 -0
- package/lib/display/Graphics.ts +609 -0
- package/lib/display/GraphicsBitmapFill.ts +39 -0
- package/lib/display/GraphicsEndFill.ts +11 -0
- package/lib/display/GraphicsGradientFill.ts +31 -0
- package/lib/display/GraphicsPath.ts +75 -0
- package/lib/display/GraphicsPathCommand.ts +1 -0
- package/lib/display/GraphicsPathWinding.ts +1 -0
- package/lib/display/GraphicsSolidFill.ts +16 -0
- package/lib/display/GraphicsStroke.ts +33 -0
- package/lib/display/GraphicsTrianglePath.ts +24 -0
- package/lib/display/IBitmapDataOwner.ts +7 -0
- package/lib/display/IBitmapDrawable.ts +11 -0
- package/lib/display/IGraphicsData.ts +15 -0
- package/lib/display/IVirtualSceneGraphItem.ts +9 -0
- package/lib/display/InteractiveObject.ts +986 -0
- package/lib/display/InterpolationMethod.ts +1 -0
- package/lib/display/JointStyle.ts +1 -0
- package/lib/display/LineScaleMode.ts +1 -0
- package/lib/display/Loader.ts +777 -0
- package/lib/display/LoaderInfo.ts +743 -0
- package/lib/display/MovieClip.ts +570 -0
- package/lib/display/NativeMenu.ts +11 -0
- package/lib/display/NativeMenuItem.ts +34 -0
- package/lib/display/PixelSnapping.ts +1 -0
- package/lib/display/Scene.ts +69 -0
- package/lib/display/Shape.ts +89 -0
- package/lib/display/SimpleButton.ts +555 -0
- package/lib/display/SpreadMethod.ts +1 -0
- package/lib/display/Sprite.ts +774 -0
- package/lib/display/Stage.ts +1143 -0
- package/lib/display/TriangleCulling.ts +1 -0
- package/lib/display3D/Context3D.ts +1 -0
- package/lib/display3D/Context3DClearMask.ts +1 -0
- package/lib/display3D/Context3DProgramType.ts +1 -0
- package/lib/display3D/Texture.ts +29 -0
- package/lib/errors/EOFError.ts +17 -0
- package/lib/errors/IOError.ts +16 -0
- package/lib/errors/IllegalOperationError.ts +17 -0
- package/lib/errors/InvalidSWFError.ts +16 -0
- package/lib/errors/MemoryError.ts +16 -0
- package/lib/errors/ScriptTimeoutError.ts +16 -0
- package/lib/errors/StackOverflowError.ts +16 -0
- package/lib/events/AccelerometerEvent.ts +26 -0
- package/lib/events/ActivityEvent.ts +19 -0
- package/lib/events/AsyncErrorEvent.ts +31 -0
- package/lib/events/ContextMenuEvent.ts +26 -0
- package/lib/events/DataEvent.ts +17 -0
- package/lib/events/ErrorEvent.ts +54 -0
- package/lib/events/Event.ts +229 -0
- package/lib/events/EventDispatcher.ts +283 -0
- package/lib/events/EventDispatcherBase.ts +289 -0
- package/lib/events/EventPhase.ts +34 -0
- package/lib/events/FocusEvent.ts +97 -0
- package/lib/events/FullScreenEvent.ts +22 -0
- package/lib/events/GameInputEvent.ts +38 -0
- package/lib/events/GeolocationEvent.ts +18 -0
- package/lib/events/GestureEvent.ts +113 -0
- package/lib/events/GesturePhase.ts +18 -0
- package/lib/events/HTTPStatusEvent.ts +81 -0
- package/lib/events/IEventDispatcher.ts +1 -0
- package/lib/events/IEventMapper.ts +7 -0
- package/lib/events/IMEEvent.ts +21 -0
- package/lib/events/IOErrorEvent.ts +49 -0
- package/lib/events/KeyboardEvent.ts +114 -0
- package/lib/events/MouseEvent.ts +279 -0
- package/lib/events/NetDataEvent.ts +22 -0
- package/lib/events/NetFilterEvent.ts +20 -0
- package/lib/events/NetMonitorEvent.ts +20 -0
- package/lib/events/NetStatusEvent.ts +53 -0
- package/lib/events/OutputProgressEvent.ts +20 -0
- package/lib/events/PressAndTapGestureEvent.ts +24 -0
- package/lib/events/ProgressEvent.ts +66 -0
- package/lib/events/SampleDataEvent.ts +140 -0
- package/lib/events/SecurityErrorEvent.ts +16 -0
- package/lib/events/ShaderEvent.ts +19 -0
- package/lib/events/SoftKeyboardEvent.ts +19 -0
- package/lib/events/SoftKeyboardTrigger.ts +16 -0
- package/lib/events/StageVideoAvailabilityEvent.ts +20 -0
- package/lib/events/StageVideoEvent.ts +26 -0
- package/lib/events/StaticEvents.ts +5 -0
- package/lib/events/StatusEvent.ts +45 -0
- package/lib/events/SyncEvent.ts +19 -0
- package/lib/events/TextEvent.ts +60 -0
- package/lib/events/ThrottleEvent.ts +23 -0
- package/lib/events/ThrottleType.ts +18 -0
- package/lib/events/TimerEvent.ts +31 -0
- package/lib/events/TouchEvent.ts +548 -0
- package/lib/events/TransformGestureEvent.ts +21 -0
- package/lib/events/UncaughtErrorEvent.ts +17 -0
- package/lib/events/UncaughtErrorEvents.ts +29 -0
- package/lib/events/VideoEvent.ts +24 -0
- package/lib/external/ExternalInterface.ts +304 -0
- package/lib/factories/FlashSceneGraphFactory.ts +205 -0
- package/lib/filters/BevelFilter.ts +247 -0
- package/lib/filters/BitmapFilter.ts +123 -0
- package/lib/filters/BitmapFilterType.ts +43 -0
- package/lib/filters/BlurFilter.ts +69 -0
- package/lib/filters/ColorMatrixFilter.ts +96 -0
- package/lib/filters/ConvolutionFilter.ts +187 -0
- package/lib/filters/DisplacementMapFilter.ts +191 -0
- package/lib/filters/DropShadowFilter.ts +203 -0
- package/lib/filters/FilterBuilder.ts +34 -0
- package/lib/filters/GlowFilter.ts +162 -0
- package/lib/filters/GradientBevelFilter.ts +276 -0
- package/lib/filters/GradientGlowFilter.ts +239 -0
- package/lib/geom/ColorTransform.ts +294 -0
- package/lib/geom/Matrix.ts +428 -0
- package/lib/geom/Matrix3D.ts +228 -0
- package/lib/geom/Orientation3D.ts +43 -0
- package/lib/geom/PerspectiveProjection.ts +1 -0
- package/lib/geom/Point.ts +201 -0
- package/lib/geom/Rectangle.ts +477 -0
- package/lib/geom/Transform.ts +105 -0
- package/lib/geom/Utils3D.ts +36 -0
- package/lib/geom/Vector3D.ts +438 -0
- package/lib/globalization/LocaleID.ts +96 -0
- package/lib/globalization/NumberFormatter.ts +551 -0
- package/lib/globalization/StringTools.ts +147 -0
- package/lib/greensock/TweenLite.ts +14 -0
- package/lib/greensock/easing/Linear.ts +4 -0
- package/lib/greensock/easing/Power.ts +3 -0
- package/lib/greensock/easing/Power1.ts +2 -0
- package/lib/greensock/easing/Power2.ts +2 -0
- package/lib/greensock/easing/Power3.ts +2 -0
- package/lib/greensock/easing/Power4.ts +2 -0
- package/lib/greensock/motionPaths/RectanglePath2D.ts +1 -0
- package/lib/greensock/plugins/RoundPropsPlugin.ts +1 -0
- package/lib/link.ts +669 -0
- package/lib/media/ID3Info.ts +69 -0
- package/lib/media/Sound.ts +532 -0
- package/lib/media/SoundChannel.ts +160 -0
- package/lib/media/SoundLoaderContext.ts +104 -0
- package/lib/media/SoundMixer.ts +152 -0
- package/lib/media/SoundTransform.ts +137 -0
- package/lib/net/FileFilter.ts +32 -0
- package/lib/net/FileReference.ts +293 -0
- package/lib/net/LocalConnection.ts +267 -0
- package/lib/net/NetConnection.ts +435 -0
- package/lib/net/Responder.ts +57 -0
- package/lib/net/SharedObject.ts +365 -0
- package/lib/net/Socket.ts +251 -0
- package/lib/net/URLLoader.ts +144 -0
- package/lib/net/URLLoaderDataFormat.ts +1 -0
- package/lib/net/URLRequest.ts +135 -0
- package/lib/net/URLRequestMethod.ts +1 -0
- package/lib/net/URLVariables.ts +84 -0
- package/lib/net/navigateToURL.ts +5 -0
- package/lib/sampler/NewObjectSample.ts +40 -0
- package/lib/sampler/Sample.ts +23 -0
- package/lib/starling/core/Starling.ts +613 -0
- package/lib/starling/display/DisplayObject.ts +1 -0
- package/lib/starling/display/Image.ts +1 -0
- package/lib/starling/display/Quad.ts +7 -0
- package/lib/starling/display/Sprite.ts +1 -0
- package/lib/starling/display/Stage.ts +4 -0
- package/lib/starling/events/Event.ts +1 -0
- package/lib/starling/events/ResizeEvent.ts +5 -0
- package/lib/starling/events/Touch.ts +1 -0
- package/lib/starling/events/TouchEvent.ts +1 -0
- package/lib/starling/events/TouchPhase.ts +1 -0
- package/lib/starling/textures/RenderTexture.ts +3 -0
- package/lib/starling/textures/Texture.ts +1 -0
- package/lib/starling/utils/SystemUtil.ts +3 -0
- package/lib/system/ApplicationDomain.ts +279 -0
- package/lib/system/Capabilities.ts +265 -0
- package/lib/system/FSCommand.ts +20 -0
- package/lib/system/IME.ts +157 -0
- package/lib/system/LoaderContext.ts +449 -0
- package/lib/system/Security.ts +119 -0
- package/lib/system/SecurityDomain.ts +9 -0
- package/lib/system/System.ts +225 -0
- package/lib/system/TouchscreenType.ts +37 -0
- package/lib/text/AntiAliasType.ts +1 -0
- package/lib/text/CSMSettings.ts +25 -0
- package/lib/text/Font.ts +60 -0
- package/lib/text/FontStyle.ts +18 -0
- package/lib/text/FontType.ts +18 -0
- package/lib/text/GridFitType.ts +1 -0
- package/lib/text/StaticText.ts +41 -0
- package/lib/text/StyleSheet.ts +201 -0
- package/lib/text/TextColorType.ts +15 -0
- package/lib/text/TextDisplayMode.ts +16 -0
- package/lib/text/TextExtent.ts +25 -0
- package/lib/text/TextField.ts +1358 -0
- package/lib/text/TextFieldAutoSize.ts +1 -0
- package/lib/text/TextFieldType.ts +1 -0
- package/lib/text/TextFormat.ts +222 -0
- package/lib/text/TextFormatAlign.ts +1 -0
- package/lib/text/TextFormatDisplay.ts +19 -0
- package/lib/text/TextInteractionMode.ts +1 -0
- package/lib/text/TextLineMetrics.ts +72 -0
- package/lib/text/TextRenderer.ts +70 -0
- package/lib/text/TextRun.ts +56 -0
- package/lib/text/TextSnapshot.ts +73 -0
- package/lib/text/engine/BreakOpportunity.ts +17 -0
- package/lib/text/engine/CFFHinting.ts +15 -0
- package/lib/text/engine/ContentElement.ts +123 -0
- package/lib/text/engine/DigitCase.ts +19 -0
- package/lib/text/engine/DigitWidth.ts +19 -0
- package/lib/text/engine/EastAsianJustifier.ts +50 -0
- package/lib/text/engine/ElementFormat.ts +323 -0
- package/lib/text/engine/FontDescription.ts +114 -0
- package/lib/text/engine/FontLookup.ts +18 -0
- package/lib/text/engine/FontMetrics.ts +47 -0
- package/lib/text/engine/FontPosture.ts +18 -0
- package/lib/text/engine/FontWeight.ts +18 -0
- package/lib/text/engine/GraphicElement.ts +69 -0
- package/lib/text/engine/GroupElement.ts +123 -0
- package/lib/text/engine/JustificationStyle.ts +19 -0
- package/lib/text/engine/Kerning.ts +19 -0
- package/lib/text/engine/LigatureLevel.ts +21 -0
- package/lib/text/engine/LineJustification.ts +20 -0
- package/lib/text/engine/NativehacksForTLF.ts +58 -0
- package/lib/text/engine/RenderingMode.ts +18 -0
- package/lib/text/engine/SpaceJustifier.ts +57 -0
- package/lib/text/engine/TabAlignment.ts +20 -0
- package/lib/text/engine/TabStop.ts +61 -0
- package/lib/text/engine/TextBaseline.ts +23 -0
- package/lib/text/engine/TextBlock.ts +583 -0
- package/lib/text/engine/TextElement.ts +49 -0
- package/lib/text/engine/TextJustifier.ts +46 -0
- package/lib/text/engine/TextLine.ts +434 -0
- package/lib/text/engine/TextLineCreationResult.ts +20 -0
- package/lib/text/engine/TextLineMirrorRegion.ts +62 -0
- package/lib/text/engine/TextLineValidity.ts +20 -0
- package/lib/text/engine/TextRotation.ts +21 -0
- package/lib/text/engine/TypographicCase.ts +22 -0
- package/lib/text/ime/CompositionAttributeRange.ts +29 -0
- package/lib/text/ime/IIMEClient.ts +31 -0
- package/lib/ui/ContextMenu.ts +128 -0
- package/lib/ui/ContextMenuBuiltInItems.ts +104 -0
- package/lib/ui/ContextMenuClipboardItems.ts +93 -0
- package/lib/ui/ContextMenuItem.ts +60 -0
- package/lib/ui/GameInput.ts +49 -0
- package/lib/ui/GameInputControl.ts +76 -0
- package/lib/ui/GameInputControlType.ts +25 -0
- package/lib/ui/GameInputDevice.ts +103 -0
- package/lib/ui/GameInputFinger.ts +23 -0
- package/lib/ui/GameInputHand.ts +22 -0
- package/lib/ui/Keyboard.ts +394 -0
- package/lib/ui/Mouse.ts +70 -0
- package/lib/ui/MouseCursorData.ts +44 -0
- package/lib/ui/Multitouch.ts +117 -0
- package/lib/ui/MultitouchInputMode.ts +27 -0
- package/lib/utils/AwayDate.ts +64 -0
- package/lib/utils/ByteArray.ts +1 -0
- package/lib/utils/CompressionAlgorithm.ts +7 -0
- package/lib/utils/Dictionary.ts +1 -0
- package/lib/utils/Endian.ts +15 -0
- package/lib/utils/IDataInput.ts +194 -0
- package/lib/utils/IDataOutput.ts +147 -0
- package/lib/utils/IExternalizable.ts +37 -0
- package/lib/utils/Timer.ts +115 -0
- package/lib/utils/Trace.ts +33 -0
- package/lib/utils/clearInterval.ts +8 -0
- package/lib/utils/clearTimeout.ts +8 -0
- package/lib/utils/describeType.ts +82 -0
- package/lib/utils/escapeMultiByte.ts +29 -0
- package/lib/utils/getAliasName.ts +7 -0
- package/lib/utils/getDefinitionByName.ts +13 -0
- package/lib/utils/getQualifiedClassName.ts +14 -0
- package/lib/utils/getQualifiedSuperclassName.ts +26 -0
- package/lib/utils/getTimer.ts +20 -0
- package/lib/utils/setInterval.ts +20 -0
- package/lib/utils/setTimeout.ts +20 -0
- package/lib/utils/unescapeMultiByte.ts +27 -0
- package/lib/xml/XML.ts +115 -0
- package/lib/xml/XMLDocumentAway.ts +142 -0
- package/lib/xml/XMLList.ts +449 -0
- package/lib/xml/XMLNode.ts +326 -0
- package/lib/xml/XMLNodeType.ts +48 -0
- package/package.json +78 -4
- package/rollup.config.js +40 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
import { TouchEvent as TouchEventAway } from '@awayjs/scene';
|
|
2
|
+
import { InteractiveObject } from '../display/InteractiveObject';
|
|
3
|
+
import { Event } from './Event';
|
|
4
|
+
import { DisplayObject } from '../display/DisplayObject';
|
|
5
|
+
import { AVMStage } from '@awayfl/swf-loader';
|
|
6
|
+
import { Point } from '@awayjs/core';
|
|
7
|
+
import { SecurityDomain } from '../SecurityDomain';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
/// @eventType flash.events.TouchEvent.TOUCH_BEGIN
|
|
11
|
+
[Event(name="touchBegin", type="flash.events.TouchEvent")]
|
|
12
|
+
|
|
13
|
+
/// @eventType flash.events.TouchEvent.TOUCH_END
|
|
14
|
+
[Event(name="touchEnd", type="flash.events.TouchEvent")]
|
|
15
|
+
|
|
16
|
+
/// @eventType flash.events.TouchEvent.TOUCH_MOVE
|
|
17
|
+
[Event(name="touchMove", type="flash.events.TouchEvent")]
|
|
18
|
+
|
|
19
|
+
/// @eventType flash.events.TouchEvent.TOUCH_OUT
|
|
20
|
+
[Event(name="touchOut", type="flash.events.TouchEvent")]
|
|
21
|
+
|
|
22
|
+
/// @eventType flash.events.TouchEvent.TOUCH_OVER
|
|
23
|
+
[Event(name="touchOver", type="flash.events.TouchEvent")]
|
|
24
|
+
|
|
25
|
+
/// @eventType flash.events.TouchEvent.TOUCH_ROLL_OUT
|
|
26
|
+
[Event(name="touchRollOut", type="flash.events.TouchEvent")]
|
|
27
|
+
|
|
28
|
+
/// @eventType flash.events.TouchEvent.TOUCH_ROLL_OVER
|
|
29
|
+
[Event(name="touchRollOver", type="flash.events.TouchEvent")]
|
|
30
|
+
|
|
31
|
+
/// @eventType flash.events.TouchEvent.TOUCH_TAP
|
|
32
|
+
[Event(name="touchTap", type="flash.events.TouchEvent")]
|
|
33
|
+
|
|
34
|
+
* The TouchEvent class lets you handle events on devices that detect user contact with
|
|
35
|
+
* the device (such as a finger on a touch screen).
|
|
36
|
+
* When a user interacts with a device such as a mobile phone or tablet with a touch screen, the user typically
|
|
37
|
+
* touches the screen with his or her fingers or a pointing device. You can develop applications that respond to
|
|
38
|
+
* basic touch events (such as a single finger tap) with the TouchEvent class.
|
|
39
|
+
* Create event listeners using the event types defined in this class.
|
|
40
|
+
* For user interaction with multiple points of contact
|
|
41
|
+
* (such as several fingers moving across a touch screen at the same time) use
|
|
42
|
+
* the related GestureEvent, PressAndTapGestureEvent, and TransformGestureEvent classes.
|
|
43
|
+
* And, use the properties and methods of these classes
|
|
44
|
+
* to construct event handlers that respond to the user touching the device.
|
|
45
|
+
* <p class="- topic/p ">Use the Multitouch class to determine the current environment's support for touch interaction,
|
|
46
|
+
* and to
|
|
47
|
+
* manage the support of touch interaction if the current environment supports it.</p>
|
|
48
|
+
* <p class="- topic/p "><b class="+ topic/ph hi-d/b ">Note:</b>
|
|
49
|
+
* When objects are nested on the display list, touch events target the deepest possible
|
|
50
|
+
* nested object that is visible in the display list. This object is called the target node. To have a target node's
|
|
51
|
+
* ancestor (an object containing the target node in the display list) receive notification of a touch event, use
|
|
52
|
+
* <codeph class="+ topic/ph pr-d/codeph ">EventDispatcher.addEventListener()</codeph>
|
|
53
|
+
* on the ancestor node with the type parameter set to the specific
|
|
54
|
+
* touch event you want to detect.</p>
|
|
55
|
+
*/
|
|
56
|
+
export class TouchEvent extends Event {
|
|
57
|
+
public static PROXIMITY_BEGIN: string;
|
|
58
|
+
public static PROXIMITY_END: string;
|
|
59
|
+
public static PROXIMITY_MOVE: string;
|
|
60
|
+
public static PROXIMITY_OUT: string;
|
|
61
|
+
public static PROXIMITY_OVER: string;
|
|
62
|
+
public static PROXIMITY_ROLL_OUT: string;
|
|
63
|
+
public static PROXIMITY_ROLL_OVER: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Defines the value of the type property of a TOUCH_BEGIN touch event object.
|
|
67
|
+
*
|
|
68
|
+
* The dispatched TouchEvent object has the following properties:PropertyValuealtKeytrue
|
|
69
|
+
* if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
70
|
+
* there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
71
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
72
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
73
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise,
|
|
74
|
+
* #false.currentTargetThe object that is actively processing the Event
|
|
75
|
+
* object with an event listener.eventPhaseThe current phase in the event
|
|
76
|
+
* flow.isRelatedObjectInaccessibletrue if the relatedObject property
|
|
77
|
+
* is set to null because of security sandbox rules.localX
|
|
78
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.
|
|
79
|
+
* localYThe vertical coordinate at which the event occurred relative to the containing sprite.pressure
|
|
80
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
81
|
+
* If the device does not support detecting the pressure, the value is 1.0.related
|
|
82
|
+
* ObjectA reference to a display list object related to the event.shiftKey
|
|
83
|
+
* true if the Shift key is active; false if it is inactive.sizeX
|
|
84
|
+
* Width of the contact area.sizeYHeight of the contact area.stageX
|
|
85
|
+
* The horizontal coordinate at which the event occurred in global stage coordinates.stageY
|
|
86
|
+
* The vertical coordinate at which the event occurred in global stage coordinates.target
|
|
87
|
+
* The InteractiveObject instance under the touching device.
|
|
88
|
+
* The target is not always the object in the display list
|
|
89
|
+
* that registered the event listener. Use the currentTarget
|
|
90
|
+
* property to access the object in the display list that is currently processing the event.touchPoint
|
|
91
|
+
* IDA unique identification number (as an int) assigned to the touch point.
|
|
92
|
+
*/
|
|
93
|
+
public static TOUCH_BEGIN: string = 'touchBegin';
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Defines the value of the type property of a TOUCH_END touch event object.
|
|
97
|
+
*
|
|
98
|
+
* The dispatched TouchEvent object has the following properties:PropertyValuealtKey
|
|
99
|
+
* true if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
100
|
+
* there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
101
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
102
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
103
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.currentTarget
|
|
104
|
+
* The object that is actively processing the Event
|
|
105
|
+
* object with an event listener.eventPhaseThe current phase in the event flow.isRelatedObjectInaccessible
|
|
106
|
+
* true if the relatedObject property is set to null because of security sandbox rules.localX
|
|
107
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
108
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.
|
|
109
|
+
* pressureA value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
110
|
+
* If the device does not support detecting the pressure, the value is 1.0.related
|
|
111
|
+
* ObjectA reference to a display list object related to the event.shiftKey
|
|
112
|
+
* true if the Shift key is active; false if it is inactive.sizeX
|
|
113
|
+
* Width of the contact area.sizeYHeight of the contact area.stageX
|
|
114
|
+
* The horizontal coordinate at which the event occurred in global stage coordinates.stageY
|
|
115
|
+
* The vertical coordinate at which the event occurred in global stage coordinates.
|
|
116
|
+
* targetThe InteractiveObject instance under the touching device.
|
|
117
|
+
* The target is not always the object in the display list
|
|
118
|
+
* that registered the event listener. Use the currentTarget
|
|
119
|
+
* property to access the object in the display list that is currently processing the event.
|
|
120
|
+
* touchPointIDA unique identification number (as an int) assigned to the touch point.
|
|
121
|
+
*/
|
|
122
|
+
public static TOUCH_END: string = 'touchEnd';
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Defines the value of the type property of a TOUCH_MOVE touch event object.
|
|
126
|
+
*
|
|
127
|
+
* The dispatched TouchEvent object has the following properties:PropertyValue
|
|
128
|
+
* altKeytrue if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
129
|
+
* there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
130
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
131
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
132
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.currentTarget
|
|
133
|
+
* The object that is actively processing the Event
|
|
134
|
+
* object with an event listener.eventPhaseThe current phase in the event flow.isRelatedObjectInaccessible
|
|
135
|
+
* true if the relatedObject property is set to null because of security sandbox rules.localX
|
|
136
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
137
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.pressure
|
|
138
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
139
|
+
* If the device does not support detecting the pressure, the value is 1.0.related
|
|
140
|
+
* ObjectA reference to a display list object related to the event.shiftKeytrue
|
|
141
|
+
* if the Shift key is active; false if it is inactive.sizeXWidth of the contact area.sizeY
|
|
142
|
+
* Height of the contact area.stageXThe horizontal coordinate
|
|
143
|
+
* at which the event occurred in global stage coordinates.
|
|
144
|
+
* stageYThe vertical coordinate at which the event occurred in global stage coordinates.
|
|
145
|
+
* targetThe InteractiveObject instance under the touching device.
|
|
146
|
+
* The target is not always the object in the display list
|
|
147
|
+
* that registered the event listener. Use the currentTarget
|
|
148
|
+
* property to access the object in the display list that is currently processing the event.
|
|
149
|
+
* touchPointIDA unique identification number (as an int) assigned to the touch point.
|
|
150
|
+
*/
|
|
151
|
+
public static TOUCH_MOVE: string = 'touchMove';
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Defines the value of the type property of a TOUCH_OUT touch event object.
|
|
155
|
+
*
|
|
156
|
+
* The dispatched TouchEvent object has the following properties:
|
|
157
|
+
* PropertyValuealtKeytrue if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
158
|
+
* there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
159
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
160
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
161
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.currentTarget
|
|
162
|
+
* The object that is actively processing the Event
|
|
163
|
+
* object with an event listener.eventPhaseThe current phase in the event flow.isRelatedObjectInaccessibletrue
|
|
164
|
+
* if the relatedObject property is set to null because of security sandbox rules.localX
|
|
165
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
166
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.pressure
|
|
167
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
168
|
+
* If the device does not support detecting the pressure, the value is 1.0.relatedObject
|
|
169
|
+
* A reference to a display list object related to the event.shiftKeytrue if the Shift key is active;
|
|
170
|
+
* false if it is inactive.sizeXWidth of the contact area.sizeYHeight of the contact area.stageX
|
|
171
|
+
* The horizontal coordinate at which the event occurred in global stage coordinates.stageY
|
|
172
|
+
* The vertical coordinate at which the event occurred in global stage coordinates.target
|
|
173
|
+
* The InteractiveObject instance under the touching device.
|
|
174
|
+
* The target is not always the object in the display list
|
|
175
|
+
* that registered the event listener. Use the currentTarget
|
|
176
|
+
* property to access the object in the display list that is currently processing the event.touchPoint
|
|
177
|
+
* IDA unique identification number (as an int) assigned to the touch point.
|
|
178
|
+
*/
|
|
179
|
+
public static TOUCH_OUT: string = 'touchOut';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Defines the value of the type property of a TOUCH_OVER touch event object.
|
|
183
|
+
*
|
|
184
|
+
* The dispatched TouchEvent object has the following properties:PropertyValuealtKey
|
|
185
|
+
* true if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
186
|
+
* there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
187
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active; false
|
|
188
|
+
* if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
189
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise,
|
|
190
|
+
* false.currentTargetThe object that is actively processing the Event
|
|
191
|
+
* object with an event listener.eventPhaseThe current phase in the event
|
|
192
|
+
* flow.isRelatedObjectInaccessibletrue if the relatedObject property
|
|
193
|
+
* is set to null because of security sandbox rules.
|
|
194
|
+
* localXThe horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
195
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.pressure
|
|
196
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
197
|
+
* If the device does not support detecting the pressure, the value is 1.0.relatedObject
|
|
198
|
+
* A reference to a display list object related to the event.shiftKeytrue
|
|
199
|
+
* if the Shift key is active; false if it is inactive.sizeXWidth of the contact area.sizeY
|
|
200
|
+
* Height of the contact area.stageXThe horizontal coordinate at which
|
|
201
|
+
* the event occurred in global stage coordinates.stageYThe vertical coordinate
|
|
202
|
+
* at which the event occurred in global stage coordinates.target
|
|
203
|
+
* The InteractiveObject instance under the touching device.
|
|
204
|
+
* The target is not always the object in the display list
|
|
205
|
+
* that registered the event listener. Use the currentTarget
|
|
206
|
+
* property to access the object in the display list that is currently processing the event.
|
|
207
|
+
* touchPointIDA unique identification number (as an int) assigned to the touch point.
|
|
208
|
+
*/
|
|
209
|
+
public static TOUCH_OVER: string = 'touchOver';
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Defines the value of the type property of a TOUCH_ROLL_OUT touch event object.
|
|
213
|
+
*
|
|
214
|
+
* The dispatched TouchEvent object has the following properties:PropertyValuealtKeytrue
|
|
215
|
+
* if the Alt key is active (Windows or Linux).bubblestruecancelablefalse; there is no default behavior to cancel.
|
|
216
|
+
* commandKeytrue on the Mac if the Command key is active; false if it is inactive.
|
|
217
|
+
* Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
218
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
219
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.currentTarget
|
|
220
|
+
* The object that is actively processing the Event
|
|
221
|
+
* object with an event listener.eventPhaseThe current phase in the event flow.isRelatedObjectInaccessibletrue
|
|
222
|
+
* if the relatedObject property is set to null because of security sandbox rules.localX
|
|
223
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
224
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.pressure
|
|
225
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
226
|
+
* If the device does not support detecting the pressure, the value is 1.0.relatedObject
|
|
227
|
+
* A reference to a display list object related to the event.shiftKeytrue if the Shift key is active;
|
|
228
|
+
* false if it is inactive.sizeXWidth of the contact area.sizeYHeight of the contact area.stageX
|
|
229
|
+
* The horizontal coordinate at which the event occurred in global stage coordinates.stageY
|
|
230
|
+
* The vertical coordinate at which the event occurred in global stage coordinates.target
|
|
231
|
+
* The InteractiveObject instance under the touching device.
|
|
232
|
+
* The target is not always the object in the display list
|
|
233
|
+
* that registered the event listener. Use the currentTarget
|
|
234
|
+
* property to access the object in the display list that is currently processing the event.touchPointID
|
|
235
|
+
* A unique identification number (as an int) assigned to the touch point.
|
|
236
|
+
*/
|
|
237
|
+
public static TOUCH_ROLL_OUT: string = 'touchRollOut';
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Defines the value of the type property of a TOUCH_ROLL_OVER touch event object.
|
|
241
|
+
*
|
|
242
|
+
* The dispatched TouchEvent object has the following properties:PropertyValuealtKey
|
|
243
|
+
* true if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
244
|
+
* #there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
245
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
246
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
247
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.currentTarget
|
|
248
|
+
* The object that is actively processing the Event
|
|
249
|
+
* object with an event listener.eventPhaseThe current phase in the event flow.isRelatedObjectInaccessibletrue
|
|
250
|
+
* if the relatedObject property is set to null because of security sandbox rules.localX
|
|
251
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
252
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.pressure
|
|
253
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
254
|
+
* If the device does not support detecting the pressure, the value is 1.0.relatedObject
|
|
255
|
+
* A reference to a display list object related to the event.shiftKeytrue if the Shift key is active;
|
|
256
|
+
* false if it is inactive.sizeXWidth of the contact area.sizeYHeight of the contact area.stageX
|
|
257
|
+
* The horizontal coordinate at which the event occurred in global stage coordinates.stageY
|
|
258
|
+
* The vertical coordinate at which the event occurred in global stage coordinates.target
|
|
259
|
+
* The InteractiveObject instance under the touching device.
|
|
260
|
+
* The target is not always the object in the display list
|
|
261
|
+
* that registered the event listener. Use the currentTarget
|
|
262
|
+
* property to access the object in the display list that is currently processing the event.touchPointID
|
|
263
|
+
* A unique identification number (as an int) assigned to the touch point.
|
|
264
|
+
*/
|
|
265
|
+
public static TOUCH_ROLL_OVER: string = 'touchRollOver';
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Defines the value of the type property of a TOUCH_TAP touch event object.
|
|
269
|
+
*
|
|
270
|
+
* The dispatched TouchEvent object has the following properties:PropertyValuealtKeytrue
|
|
271
|
+
* if the Alt key is active (Windows or Linux).bubblestruecancelablefalse;
|
|
272
|
+
* there is no default behavior to cancel.commandKeytrue on the Mac if the Command key is active;
|
|
273
|
+
* false if it is inactive. Always false on Windows.controlKeytrue if the Ctrl or Control key is active;
|
|
274
|
+
* false if it is inactive.ctrlKeytrue on Windows or Linux if the Ctrl key is active.
|
|
275
|
+
* true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.currentTarget
|
|
276
|
+
* The object that is actively processing the Event
|
|
277
|
+
* object with an event listener.eventPhaseThe current phase in the event flow.isRelatedObjectInaccessibletrue
|
|
278
|
+
* if the relatedObject property is set to null because of security sandbox rules.localX
|
|
279
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.localY
|
|
280
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.
|
|
281
|
+
* pressureA value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
282
|
+
* If the device does not support detecting the pressure,
|
|
283
|
+
* the value is 1.0.relatedObjectA reference to a display list object related to the event.shiftKey
|
|
284
|
+
* true if the Shift key is active; false if it is inactive.sizeXWidth of the contact area.sizeY
|
|
285
|
+
* Height of the contact area.stageX
|
|
286
|
+
* The horizontal coordinate at which the event occurred in global stage coordinates.
|
|
287
|
+
* stageYThe vertical coordinate at which the event occurred in global stage coordinates.target
|
|
288
|
+
* The InteractiveObject instance under the touching device.
|
|
289
|
+
* The target is not always the object in the display list
|
|
290
|
+
* that registered the event listener. Use the currentTarget
|
|
291
|
+
* property to access the object in the display list that is currently processing the event.touchPointID
|
|
292
|
+
* A unique identification number (as an int) assigned to the touch point.
|
|
293
|
+
*/
|
|
294
|
+
public static TOUCH_TAP: string = 'touchTap';
|
|
295
|
+
|
|
296
|
+
private adaptee: TouchEventAway;
|
|
297
|
+
|
|
298
|
+
// AS -> JS Bindings
|
|
299
|
+
private _localX: number;
|
|
300
|
+
private _localY: number;
|
|
301
|
+
private _stageX: number;
|
|
302
|
+
private _stageY: number;
|
|
303
|
+
|
|
304
|
+
private _ctrlKey: boolean;
|
|
305
|
+
private _altKey: boolean;
|
|
306
|
+
|
|
307
|
+
private _shiftKey: boolean;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Indicates whether the Alt key is active (true) or inactive (false).
|
|
311
|
+
* Supported for Windows and Linux operating systems only.
|
|
312
|
+
* @internal Reserved in case Desktop Player wants to capture this key in a future implementation.
|
|
313
|
+
* The Option key modifier on Macintosh system must be represented using this key modifier. So far, it seems
|
|
314
|
+
* only the Windows version is hooked up.
|
|
315
|
+
*/
|
|
316
|
+
public get altKey(): boolean {
|
|
317
|
+
return this._altKey;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
public set altKey(value: boolean) {
|
|
321
|
+
this._altKey = value;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* On Windows or Linux, indicates whether the Ctrl key is active (true) or inactive (false).
|
|
326
|
+
* On Macintosh, indicates whether either the Control key or the Command key is activated.
|
|
327
|
+
*/
|
|
328
|
+
public get ctrlKey(): boolean {
|
|
329
|
+
return this._ctrlKey;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
public set ctrlKey(value: boolean) {
|
|
333
|
+
this._ctrlKey = value;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Indicates whether the first point of contact is mapped to mouse events.
|
|
338
|
+
*/
|
|
339
|
+
public get isPrimaryTouchPoint (): boolean {return false;}
|
|
340
|
+
public set isPrimaryTouchPoint (value: boolean) {}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* If true, the relatedObject property is set to null for
|
|
344
|
+
* reasons related to security sandboxes. If the nominal value of relatedObject is a reference to a
|
|
345
|
+
* DisplayObject in another sandbox, relatedObject is set to
|
|
346
|
+
* null unless there is permission in both directions across this sandbox boundary. Permission is
|
|
347
|
+
* established by calling Security.allowDomain() from a SWF file, or by providing
|
|
348
|
+
* a policy file from the server of an image file, and setting the LoaderContext.checkPolicyFile
|
|
349
|
+
* property when loading the image.
|
|
350
|
+
*/
|
|
351
|
+
public get isRelatedObjectInaccessible (): boolean {return false;}
|
|
352
|
+
public set isRelatedObjectInaccessible (value: boolean) {}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* The horizontal coordinate at which the event occurred relative to the containing sprite.
|
|
356
|
+
*/
|
|
357
|
+
get localX(): number {
|
|
358
|
+
return (this._localX / 20) | 0;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
set localX(value: number) {
|
|
362
|
+
this._localX = (value * 20) | 0;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* The vertical coordinate at which the event occurred relative to the containing sprite.
|
|
367
|
+
*/
|
|
368
|
+
get localY(): number {
|
|
369
|
+
return (this._localY / 20) | 0;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
set localY(value: number) {
|
|
373
|
+
this._localY = (value * 20) | 0;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
378
|
+
* If the device does not support detecting the pressure, the value is 1.0.
|
|
379
|
+
*/
|
|
380
|
+
public get pressure (): number { return 0;}
|
|
381
|
+
public set pressure (value: number) {}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* A reference to a display list object that is related to the event. For example, when a touchOut event occurs,
|
|
385
|
+
* relatedObject represents the display list object to which the pointing device now points.
|
|
386
|
+
* This property applies to the touchOut, touchOver, touchRollOut, and touchRollOver events.
|
|
387
|
+
* The value of this property can be null in two circumstances: if there is no related object,
|
|
388
|
+
* or there is a related object, but it is in a security sandbox to which you don't have access.
|
|
389
|
+
* Use the isRelatedObjectInaccessible() property to determine which of these reasons applies.
|
|
390
|
+
*/
|
|
391
|
+
public get relatedObject (): InteractiveObject {
|
|
392
|
+
return null;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
public set relatedObject (value: InteractiveObject) {
|
|
396
|
+
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Indicates whether the Shift key is active (true) or inactive
|
|
401
|
+
* (false).
|
|
402
|
+
*/
|
|
403
|
+
public get shiftKey(): boolean {
|
|
404
|
+
return this._shiftKey;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
public set shiftKey(value: boolean) {
|
|
408
|
+
this._shiftKey = value;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Width of the contact area.
|
|
413
|
+
* @langversion 3.0
|
|
414
|
+
*/
|
|
415
|
+
public get sizeX (): number { return 0;}
|
|
416
|
+
public set sizeX (value: number) {}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Height of the contact area.
|
|
420
|
+
*/
|
|
421
|
+
public get sizeY (): number { return 0;}
|
|
422
|
+
public set sizeY (value: number) {}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* The horizontal coordinate at which the event occurred in global Stage coordinates.
|
|
426
|
+
* This property is calculated when the localX property is set.
|
|
427
|
+
*/
|
|
428
|
+
get stageX(): number {
|
|
429
|
+
return this._stageX;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* The vertical coordinate at which the event occurred in global Stage coordinates.
|
|
434
|
+
* This property is calculated when the localY property is set.
|
|
435
|
+
*/
|
|
436
|
+
public get stageY (): number { return 0;}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* A unique identification number (as an int) assigned to the touch point.
|
|
440
|
+
*/
|
|
441
|
+
public get touchPointID (): number { return 0;}
|
|
442
|
+
public set touchPointID (value: number) {}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Creates a copy of the TouchEvent object and sets the value of each property to match that of the original.
|
|
446
|
+
* @return A new TouchEvent object with property values that match those of the original.
|
|
447
|
+
*/
|
|
448
|
+
public clone (): Event {
|
|
449
|
+
return null;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Returns a string that contains all the properties of the TouchEvent object.
|
|
454
|
+
* The string is in the following format:
|
|
455
|
+
* [TouchEvent type=value bubbles=value cancelable=value ... ]
|
|
456
|
+
* @return A string that contains all the properties of the TouchEvent object.
|
|
457
|
+
*/
|
|
458
|
+
public toString (): string {return '';}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Creates an Event object that contains information about touch events.
|
|
462
|
+
* Event objects are passed as parameters to event listeners.
|
|
463
|
+
* @param type The type of the event. Possible values are: TouchEvent.TOUCH_BEGIN,
|
|
464
|
+
* TouchEvent.TOUCH_END, TouchEvent.TOUCH_MOVE,
|
|
465
|
+
* TouchEvent.TOUCH_OUT, TouchEvent.TOUCH_OVER,
|
|
466
|
+
* TouchEvent.TOUCH_ROLL_OUT, TouchEvent.TOUCH_ROLL_OVER,
|
|
467
|
+
* and TouchEvent.TOUCH_TAP.
|
|
468
|
+
* @param bubbles Determines whether the Event object participates in the bubbling phase of the event flow.
|
|
469
|
+
* @param cancelable Determines whether the Event object can be canceled.
|
|
470
|
+
* @param touchPointID A unique identification number (as an int) assigned to the touch point.
|
|
471
|
+
* @param isPrimaryTouchPoint Indicates whether the first point of contact is mapped to mouse events.
|
|
472
|
+
* @param localX The horizontal coordinate at which the event occurred relative to the containing sprite.
|
|
473
|
+
* @param localY The vertical coordinate at which the event occurred relative to the containing sprite.
|
|
474
|
+
* @param sizeX Width of the contact area.
|
|
475
|
+
* @param sizeY Height of the contact area.
|
|
476
|
+
* @param pressure A value between 0.0 and 1.0 indicating force of the contact with the device.
|
|
477
|
+
* If the device does not support detecting the pressure, the value is 1.0.
|
|
478
|
+
* @param relatedObject The complementary InteractiveObject instance that is affected by the event.
|
|
479
|
+
* For example, when a touchOut event occurs,
|
|
480
|
+
* relatedObject represents the display list object to which the pointing device now points.
|
|
481
|
+
* @param ctrlKey On Windows or Linux, indicates whether the Ctrl key is activated.
|
|
482
|
+
* On Mac, indicates whether either the Ctrl key or the Command key is activated.
|
|
483
|
+
* @param altKey Indicates whether the Alt key is activated (Windows or Linux only).
|
|
484
|
+
* @param shiftKey Indicates whether the Shift key is activated.
|
|
485
|
+
* @param commandKey (AIR only) Indicates whether the Command key is activated (Mac only).
|
|
486
|
+
* This parameter is for Adobe AIR only; do not set it for Flash Player content.
|
|
487
|
+
* @param controlKey (AIR only) Indicates whether the Control or Ctrl key is activated.
|
|
488
|
+
* This parameter is for Adobe AIR only; do not set it for Flash Player content.
|
|
489
|
+
|
|
490
|
+
*/
|
|
491
|
+
constructor (type: string, bubbles: boolean = true, cancelable: boolean = false,
|
|
492
|
+
touchPointID: number = 0, isPrimaryTouchPoint: boolean = false,
|
|
493
|
+
localX: number = NaN, localY: number = NaN,
|
|
494
|
+
sizeX: number = NaN, sizeY: number = NaN,
|
|
495
|
+
pressure: number = NaN, relatedObject: InteractiveObject = null,
|
|
496
|
+
ctrlKey: boolean = false, altKey: boolean = false, shiftKey: boolean = false) {
|
|
497
|
+
super(type, bubbles, cancelable);
|
|
498
|
+
|
|
499
|
+
this._localX = localX;
|
|
500
|
+
this._localY = localY;
|
|
501
|
+
this._ctrlKey = ctrlKey;
|
|
502
|
+
this._altKey = altKey;
|
|
503
|
+
this._shiftKey = shiftKey;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Instructs Flash Player or Adobe AIR to render after processing of this event completes,
|
|
508
|
+
* if the display list has been modified.
|
|
509
|
+
*/
|
|
510
|
+
public updateAfterEvent () {
|
|
511
|
+
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/* added to clone events from away to as3web. */
|
|
515
|
+
public fillFromAway (awayEvent: TouchEventAway) {
|
|
516
|
+
//console.log("cloneFromAway not implemented yet in flash/MouseEvent");
|
|
517
|
+
|
|
518
|
+
this.adaptee = awayEvent;
|
|
519
|
+
// todo: set targets correctly
|
|
520
|
+
this.target = awayEvent.target.adapter || (<SecurityDomain> this.sec).flash.display.DisplayObject.axClass._activeStage;
|
|
521
|
+
this.currentTarget = awayEvent.currentTarget.adapter || (<SecurityDomain> this.sec).flash.display.DisplayObject.axClass._activeStage;
|
|
522
|
+
this.ctrlKey = awayEvent.ctrlKey;
|
|
523
|
+
this.shiftKey = awayEvent.shiftKey;
|
|
524
|
+
|
|
525
|
+
const stagePoint = AVMStage.instance().unprojectPoint(new Point(awayEvent.screenX, awayEvent.screenY), (<DisplayObject> this.target).stage.adaptee);
|
|
526
|
+
|
|
527
|
+
this._stageX = stagePoint.x;
|
|
528
|
+
this._stageY = stagePoint.y;
|
|
529
|
+
|
|
530
|
+
//todo: translate more stuff from awayjs to as3
|
|
531
|
+
|
|
532
|
+
//result.screenX = this.screenX;
|
|
533
|
+
//result.screenY = this.screenY;
|
|
534
|
+
/*
|
|
535
|
+
result.view = awayEvent.view;
|
|
536
|
+
result.entity = awayEvent.entity;
|
|
537
|
+
result.renderable = awayEvent.renderable;
|
|
538
|
+
result.material = awayEvent.material;
|
|
539
|
+
result.uv = awayEvent.uv;
|
|
540
|
+
result.position = awayEvent.position;
|
|
541
|
+
result.normal = awayEvent.normal;
|
|
542
|
+
result.elementIndex = awayEvent.elementIndex;
|
|
543
|
+
*/
|
|
544
|
+
//result._iParentEvent = awayEvent;
|
|
545
|
+
//result._iAllowedToPropagate = awayEvent._iAllowedToPropagate;
|
|
546
|
+
|
|
547
|
+
}
|
|
548
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GestureEvent } from './GestureEvent';
|
|
2
|
+
export class TransformGestureEvent extends GestureEvent {
|
|
3
|
+
|
|
4
|
+
static classInitializer: any = null;
|
|
5
|
+
|
|
6
|
+
static classSymbols: string [] = null;
|
|
7
|
+
static instanceSymbols: string [] = null;
|
|
8
|
+
|
|
9
|
+
constructor(type: string, bubbles: boolean = true, cancelable: boolean = false,
|
|
10
|
+
phase: string = null, localX: number = 0, localY: number = 0, scaleX: number = 1,
|
|
11
|
+
scaleY: number = 1, rotation: number = 0, offsetX: number = 0, offsetY: number = 0,
|
|
12
|
+
ctrlKey: boolean = false, altKey: boolean = false, shiftKey: boolean = false) {
|
|
13
|
+
super(type, bubbles, cancelable, phase, localX, localY, ctrlKey, altKey, shiftKey);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// JS -> AS Bindings
|
|
17
|
+
static GESTURE_ZOOM: string = 'gestureZoom';
|
|
18
|
+
static GESTURE_PAN: string = 'gesturePan';
|
|
19
|
+
static GESTURE_ROTATE: string = 'gestureRotate';
|
|
20
|
+
static GESTURE_SWIPE: string = 'gestureSwipe';
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ErrorEvent } from './ErrorEvent';
|
|
2
|
+
|
|
3
|
+
export class UncaughtErrorEvent extends ErrorEvent {
|
|
4
|
+
|
|
5
|
+
static classInitializer: any = null;
|
|
6
|
+
|
|
7
|
+
static classSymbols: string [] = null;
|
|
8
|
+
static instanceSymbols: string [] = null;
|
|
9
|
+
|
|
10
|
+
constructor(type: string = 'uncaughtError', bubbles: boolean = true, cancelable: boolean = true,
|
|
11
|
+
error_in: any = null) {
|
|
12
|
+
super(type, bubbles, cancelable, error_in);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// JS -> AS Bindings
|
|
16
|
+
static UNCAUGHT_ERROR: string = 'uncaughtError';
|
|
17
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventDispatcher } from './EventDispatcher';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2014 Mozilla Foundation
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
// Class: UncaughtErrorEvents
|
|
19
|
+
export class UncaughtErrorEvents extends EventDispatcher {
|
|
20
|
+
|
|
21
|
+
static classInitializer: any = null;
|
|
22
|
+
|
|
23
|
+
static classSymbols: string [] = null;
|
|
24
|
+
static instanceSymbols: string [] = null;
|
|
25
|
+
|
|
26
|
+
constructor() {
|
|
27
|
+
super();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
import { axCoerceString } from '@awayfl/avm2';
|
|
3
|
+
import { Event } from './Event';
|
|
4
|
+
export class VideoEvent extends Event {
|
|
5
|
+
|
|
6
|
+
static classInitializer: any = null;
|
|
7
|
+
|
|
8
|
+
static classSymbols: string [] = null;
|
|
9
|
+
static instanceSymbols: string [] = null;
|
|
10
|
+
|
|
11
|
+
status: string;
|
|
12
|
+
|
|
13
|
+
constructor(type: string, bubbles: boolean = false, cancelable: boolean = false,
|
|
14
|
+
status: string = null) {
|
|
15
|
+
super(type, bubbles, cancelable);
|
|
16
|
+
this.status = axCoerceString(status);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// JS -> AS Bindings
|
|
20
|
+
static RENDER_STATE: string = 'renderState';
|
|
21
|
+
static RENDER_STATUS_UNAVAILABLE: string = 'unavailable';
|
|
22
|
+
static RENDER_STATUS_SOFTWARE: string = 'software';
|
|
23
|
+
static RENDER_STATUS_ACCELERATED: string = 'accelerated';
|
|
24
|
+
}
|