@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,18 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
3
|
+
var SecurityDomain = /** @class */ (function (_super) {
|
|
4
|
+
__extends(SecurityDomain, _super);
|
|
5
|
+
function SecurityDomain() {
|
|
6
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(SecurityDomain, "currentDomain", {
|
|
9
|
+
//todo!
|
|
10
|
+
get: function () {
|
|
11
|
+
return null;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
return SecurityDomain;
|
|
17
|
+
}(ASObject));
|
|
18
|
+
export { SecurityDomain };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { IME } from './IME';
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
3
|
+
/**
|
|
4
|
+
* The System class contains properties related to local settings and operations.
|
|
5
|
+
* Among these are <ph class="- topic/ph ">
|
|
6
|
+
* settings for camers and microphones, operations with shared objects and</ph> the use of the Clipboard.
|
|
7
|
+
*
|
|
8
|
+
* <p class="- topic/p ">Additional properties and methods are in other classes within the flash.system package:
|
|
9
|
+
* the Capabilities class, <ph class="- topic/ph ">the IME class,</ph> and the
|
|
10
|
+
* Security class.</p><p class="- topic/p ">This class contains only static methods and properties. You cannot
|
|
11
|
+
* create new instances of the System class.</p>
|
|
12
|
+
*/
|
|
13
|
+
export declare class System extends ASObject {
|
|
14
|
+
static axClass: typeof System;
|
|
15
|
+
constructor();
|
|
16
|
+
/**
|
|
17
|
+
* The amount of memory (in bytes) that is allocated to
|
|
18
|
+
* Adobe® Flash® Player or
|
|
19
|
+
* Adobe® AIR® and that is not in use. This unused portion of
|
|
20
|
+
* allocated memory (System.totalMemory) fluctuates as garbage collection takes place.
|
|
21
|
+
* Use this property to monitor garbage collection.
|
|
22
|
+
*/
|
|
23
|
+
static get freeMemory(): number;
|
|
24
|
+
/**
|
|
25
|
+
* The currently installed system IME.
|
|
26
|
+
* To register for imeComposition events, call
|
|
27
|
+
* addEventListener() on this instance.
|
|
28
|
+
*/
|
|
29
|
+
static get ime(): IME;
|
|
30
|
+
/**
|
|
31
|
+
* The entire amount of memory (in bytes) used by an application.
|
|
32
|
+
* This is the amount of resident private memory for the entire process.
|
|
33
|
+
*
|
|
34
|
+
* AIR developers should use this property to determine the entire memory consumption of an application.
|
|
35
|
+
* For Flash Player, this includes the memory used by the container application,
|
|
36
|
+
* such as the web browser.
|
|
37
|
+
*/
|
|
38
|
+
static get privateMemory(): number;
|
|
39
|
+
static get processCPUUsage(): number;
|
|
40
|
+
/**
|
|
41
|
+
* The amount of memory (in bytes) currently in use that has been directly allocated by
|
|
42
|
+
* Flash Player or AIR.
|
|
43
|
+
*
|
|
44
|
+
* This property does not return all memory used by an Adobe AIR application or by
|
|
45
|
+
* the application (such as a browser) containing Flash Player content. The browser or
|
|
46
|
+
* operating system may consume other memory. The System.privateMemory property reflects all memory used by
|
|
47
|
+
* an application.If the amount of memory allocated is greater than the maximum value for a uint object
|
|
48
|
+
* (uint.MAX_VALUE,
|
|
49
|
+
* or 4,294,967,295), then this property is set to 0. The System.totalMemoryNumber property allows
|
|
50
|
+
* larger values.
|
|
51
|
+
*/
|
|
52
|
+
static get totalMemory(): number;
|
|
53
|
+
/**
|
|
54
|
+
* The amount of memory (in bytes) currently in use that has been directly allocated by
|
|
55
|
+
* Flash Player or AIR.
|
|
56
|
+
*
|
|
57
|
+
* This property is expressed as a Number, which allows higher values than the
|
|
58
|
+
* System.totalMemory property, which is of type int.This property does not return all memory used by an Adobe AIR
|
|
59
|
+
* application or by
|
|
60
|
+
* the application (such as a browser) containing Flash Player content. The browser or
|
|
61
|
+
* operating system may consume other memory. The System.privateMemory property reflects all memory used by
|
|
62
|
+
* an application.
|
|
63
|
+
*/
|
|
64
|
+
static get totalMemoryNumber(): number;
|
|
65
|
+
/**
|
|
66
|
+
* A Boolean value that determines which code page to use to interpret external text files.
|
|
67
|
+
* When the property is set to false, external text files are interpretted as Unicode.
|
|
68
|
+
* (These files must be encoded as Unicode when you save them.) When the property is set to
|
|
69
|
+
* true, external text files are interpretted using the traditional code page of the
|
|
70
|
+
* operating system running the application. The default value of useCodePage is false.
|
|
71
|
+
*
|
|
72
|
+
* Text that you load as an external file (using Loader.load(), the URLLoader class or
|
|
73
|
+
* URLStream) must have been saved as Unicode in order for the application to recognize it
|
|
74
|
+
* as Unicode. To encode external files as Unicode, save the files in an application that
|
|
75
|
+
* supports Unicode, such as Notepad on Windows.If you load external text files that are not Unicode-encoded,
|
|
76
|
+
* set useCodePage to true.
|
|
77
|
+
* Add the following as the first line of code of the file that
|
|
78
|
+
* is loading the data (for Flash Professional, add it to the first frame):System.useCodePage = true;
|
|
79
|
+
* When this code is present, the application interprets external text
|
|
80
|
+
* using the traditional code page of the operating system.
|
|
81
|
+
* For example, this is generally CP1252 for an English Windows operating
|
|
82
|
+
* system and Shift-JIS for a Japanese operating system.If you set useCodePage to true,
|
|
83
|
+
* Flash Player 6 and later treat text as Flash Player 5 does. (Flash Player 5
|
|
84
|
+
* treated all text as if it were in the traditional code page of the operating
|
|
85
|
+
* system running the player.)If you set useCodePage to true, remember that the
|
|
86
|
+
* traditional code page of the operating system running the application must include
|
|
87
|
+
* the characters used in your external text file in order to display your text.
|
|
88
|
+
* For example, if you load an external text file that contains Chinese characters,
|
|
89
|
+
* those characters cannot display on a system that uses the CP1252 code page because
|
|
90
|
+
* that code page does not include Chinese characters.To ensure that users on all platforms
|
|
91
|
+
* can view external text files used in your
|
|
92
|
+
* application, you should encode all external text files as Unicode and leave
|
|
93
|
+
* useCodePage set to false. This way, the application
|
|
94
|
+
* (Flash Player 6 and later, or AIR) interprets the text as Unicode.
|
|
95
|
+
*/
|
|
96
|
+
static get useCodePage(): boolean;
|
|
97
|
+
static set useCodePage(value: boolean);
|
|
98
|
+
static get vmVersion(): string;
|
|
99
|
+
/**
|
|
100
|
+
* Makes the specified XML object immediately available for garbage collection.
|
|
101
|
+
* This method will remove parent and child connections between all the nodes
|
|
102
|
+
* for the specified XML node.
|
|
103
|
+
* @param node XML reference that should be made available for garbage collection.
|
|
104
|
+
*/
|
|
105
|
+
static disposeXML(node: any): void;
|
|
106
|
+
/**
|
|
107
|
+
* Closes Flash Player.
|
|
108
|
+
*
|
|
109
|
+
* For the standalone Flash Player debugger version only.AIR applications
|
|
110
|
+
* should call the NativeApplication.exit() method to exit the application.
|
|
111
|
+
* @param code A value to pass to the operating system. Typically, if
|
|
112
|
+
* the process exits normally, the value is 0.
|
|
113
|
+
*/
|
|
114
|
+
static exit(code: number): void;
|
|
115
|
+
/**
|
|
116
|
+
* Forces the garbage collection process.
|
|
117
|
+
*
|
|
118
|
+
* For the Flash Player debugger version and AIR applications only.
|
|
119
|
+
* In an AIR application, the System.gc() method is only enabled in content running in the AIR Debug Launcher
|
|
120
|
+
* (ADL) or, in an installed applcation, in content in the application security sandbox.
|
|
121
|
+
*/
|
|
122
|
+
static gc(): void;
|
|
123
|
+
/**
|
|
124
|
+
* Pauses Flash Player or the AIR Debug Launcher (ADL).
|
|
125
|
+
* After calling this method, nothing in the application continues except the delivery of Socket events.
|
|
126
|
+
*
|
|
127
|
+
* For the Flash Player debugger version or the AIR Debug Launcher (ADL) only.
|
|
128
|
+
*/
|
|
129
|
+
static pause(): void;
|
|
130
|
+
static pauseForGCIfCollectionImminent(imminence?: number): void;
|
|
131
|
+
/**
|
|
132
|
+
* Resumes the application after calling System.pause().
|
|
133
|
+
*
|
|
134
|
+
* For the Flash Player debugger version or the AIR Debug Launcher (ADL) only.
|
|
135
|
+
*/
|
|
136
|
+
static resume(): void;
|
|
137
|
+
/**
|
|
138
|
+
* Replaces the contents of the Clipboard with a specified text string. This method works from any security
|
|
139
|
+
* context when called as a result of a user event (such as a keyboard or input device event handler).
|
|
140
|
+
*
|
|
141
|
+
* This method is provided for SWF content running in Flash Player 9. It allows only adding
|
|
142
|
+
* String content to the Clipboard.Flash Player 10 content and content in the application security sandbox
|
|
143
|
+
* in an AIR application can call
|
|
144
|
+
* the Clipboard.setData() method.
|
|
145
|
+
* @param string A plain-text string of characters to put on the system Clipboard,
|
|
146
|
+
* replacing its current contents (if any).
|
|
147
|
+
*/
|
|
148
|
+
static setClipboard(string: string): void;
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=System.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"System.d.ts","sourceRoot":"","sources":["../../../lib/system/System.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC;;;;;;;;;GASG;AACH,qBAAa,MAAO,SAAQ,QAAQ;IACnC,MAAM,CAAC,OAAO,EAAE,OAAO,MAAM,CAAC;;IAK9B;;;;;;OAMG;IACH,WAAkB,UAAU,IAAK,MAAM,CAGtC;IAED;;;;OAIG;IACH,WAAkB,GAAG,IAAK,GAAG,CAG5B;IAED;;;;;;;OAOG;IACH,WAAkB,aAAa,IAAK,MAAM,CAGzC;IAED,WAAkB,eAAe,IAAK,MAAM,CAG3C;IAED;;;;;;;;;;;OAWG;IACH,WAAkB,WAAW,IAAK,MAAM,CAGvC;IAED;;;;;;;;;;OAUG;IACH,WAAkB,iBAAiB,IAAK,MAAM,CAG7C;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,WAAkB,WAAW,IAAK,OAAO,CAGxC;IAED,WAAkB,WAAW,CAAE,KAAK,EAAE,OAAO,EAE5C;IAED,WAAkB,SAAS,IAAK,MAAM,CAGrC;IAED;;;;;OAKG;WACW,UAAU,CAAE,IAAI,EAAE,GAAG;IAInC;;;;;;;OAOG;WACW,IAAI,CAAE,IAAI,EAAE,MAAM;IAIhC;;;;;;OAMG;WACW,EAAE;IAIhB;;;;;OAKG;WACW,KAAK;WAIL,8BAA8B,CAAE,SAAS,GAAE,MAAa;IAItE;;;;OAIG;WACW,MAAM;IAIpB;;;;;;;;;;OAUG;WACW,YAAY,CAAE,MAAM,EAAE,MAAM;CAiB1C"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
//import { XML } from "../xml/XML";
|
|
2
|
+
import { __extends } from "tslib";
|
|
3
|
+
import { notImplemented } from '@awayfl/swf-loader';
|
|
4
|
+
import { ASObject } from '@awayfl/avm2';
|
|
5
|
+
/**
|
|
6
|
+
* The System class contains properties related to local settings and operations.
|
|
7
|
+
* Among these are <ph class="- topic/ph ">
|
|
8
|
+
* settings for camers and microphones, operations with shared objects and</ph> the use of the Clipboard.
|
|
9
|
+
*
|
|
10
|
+
* <p class="- topic/p ">Additional properties and methods are in other classes within the flash.system package:
|
|
11
|
+
* the Capabilities class, <ph class="- topic/ph ">the IME class,</ph> and the
|
|
12
|
+
* Security class.</p><p class="- topic/p ">This class contains only static methods and properties. You cannot
|
|
13
|
+
* create new instances of the System class.</p>
|
|
14
|
+
*/
|
|
15
|
+
var System = /** @class */ (function (_super) {
|
|
16
|
+
__extends(System, _super);
|
|
17
|
+
function System() {
|
|
18
|
+
return _super.call(this) || this;
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(System, "freeMemory", {
|
|
21
|
+
/**
|
|
22
|
+
* The amount of memory (in bytes) that is allocated to
|
|
23
|
+
* Adobe® Flash® Player or
|
|
24
|
+
* Adobe® AIR® and that is not in use. This unused portion of
|
|
25
|
+
* allocated memory (System.totalMemory) fluctuates as garbage collection takes place.
|
|
26
|
+
* Use this property to monitor garbage collection.
|
|
27
|
+
*/
|
|
28
|
+
get: function () {
|
|
29
|
+
notImplemented('public flash.system.System::freeMemory');
|
|
30
|
+
return 0;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(System, "ime", {
|
|
36
|
+
/**
|
|
37
|
+
* The currently installed system IME.
|
|
38
|
+
* To register for imeComposition events, call
|
|
39
|
+
* addEventListener() on this instance.
|
|
40
|
+
*/
|
|
41
|
+
get: function () {
|
|
42
|
+
notImplemented('public flash.system.System::ime');
|
|
43
|
+
return null;
|
|
44
|
+
},
|
|
45
|
+
enumerable: false,
|
|
46
|
+
configurable: true
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(System, "privateMemory", {
|
|
49
|
+
/**
|
|
50
|
+
* The entire amount of memory (in bytes) used by an application.
|
|
51
|
+
* This is the amount of resident private memory for the entire process.
|
|
52
|
+
*
|
|
53
|
+
* AIR developers should use this property to determine the entire memory consumption of an application.
|
|
54
|
+
* For Flash Player, this includes the memory used by the container application,
|
|
55
|
+
* such as the web browser.
|
|
56
|
+
*/
|
|
57
|
+
get: function () {
|
|
58
|
+
notImplemented('public flash.system.System::privateMemory');
|
|
59
|
+
return 0;
|
|
60
|
+
},
|
|
61
|
+
enumerable: false,
|
|
62
|
+
configurable: true
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(System, "processCPUUsage", {
|
|
65
|
+
get: function () {
|
|
66
|
+
notImplemented('public flash.system.System::processCPUUsage');
|
|
67
|
+
return 0;
|
|
68
|
+
},
|
|
69
|
+
enumerable: false,
|
|
70
|
+
configurable: true
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(System, "totalMemory", {
|
|
73
|
+
/**
|
|
74
|
+
* The amount of memory (in bytes) currently in use that has been directly allocated by
|
|
75
|
+
* Flash Player or AIR.
|
|
76
|
+
*
|
|
77
|
+
* This property does not return all memory used by an Adobe AIR application or by
|
|
78
|
+
* the application (such as a browser) containing Flash Player content. The browser or
|
|
79
|
+
* operating system may consume other memory. The System.privateMemory property reflects all memory used by
|
|
80
|
+
* an application.If the amount of memory allocated is greater than the maximum value for a uint object
|
|
81
|
+
* (uint.MAX_VALUE,
|
|
82
|
+
* or 4,294,967,295), then this property is set to 0. The System.totalMemoryNumber property allows
|
|
83
|
+
* larger values.
|
|
84
|
+
*/
|
|
85
|
+
get: function () {
|
|
86
|
+
notImplemented('public flash.system.System::totalMemory');
|
|
87
|
+
return 0;
|
|
88
|
+
},
|
|
89
|
+
enumerable: false,
|
|
90
|
+
configurable: true
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(System, "totalMemoryNumber", {
|
|
93
|
+
/**
|
|
94
|
+
* The amount of memory (in bytes) currently in use that has been directly allocated by
|
|
95
|
+
* Flash Player or AIR.
|
|
96
|
+
*
|
|
97
|
+
* This property is expressed as a Number, which allows higher values than the
|
|
98
|
+
* System.totalMemory property, which is of type int.This property does not return all memory used by an Adobe AIR
|
|
99
|
+
* application or by
|
|
100
|
+
* the application (such as a browser) containing Flash Player content. The browser or
|
|
101
|
+
* operating system may consume other memory. The System.privateMemory property reflects all memory used by
|
|
102
|
+
* an application.
|
|
103
|
+
*/
|
|
104
|
+
get: function () {
|
|
105
|
+
notImplemented('public flash.system.System::totalMemoryNumber');
|
|
106
|
+
return 0;
|
|
107
|
+
},
|
|
108
|
+
enumerable: false,
|
|
109
|
+
configurable: true
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(System, "useCodePage", {
|
|
112
|
+
/**
|
|
113
|
+
* A Boolean value that determines which code page to use to interpret external text files.
|
|
114
|
+
* When the property is set to false, external text files are interpretted as Unicode.
|
|
115
|
+
* (These files must be encoded as Unicode when you save them.) When the property is set to
|
|
116
|
+
* true, external text files are interpretted using the traditional code page of the
|
|
117
|
+
* operating system running the application. The default value of useCodePage is false.
|
|
118
|
+
*
|
|
119
|
+
* Text that you load as an external file (using Loader.load(), the URLLoader class or
|
|
120
|
+
* URLStream) must have been saved as Unicode in order for the application to recognize it
|
|
121
|
+
* as Unicode. To encode external files as Unicode, save the files in an application that
|
|
122
|
+
* supports Unicode, such as Notepad on Windows.If you load external text files that are not Unicode-encoded,
|
|
123
|
+
* set useCodePage to true.
|
|
124
|
+
* Add the following as the first line of code of the file that
|
|
125
|
+
* is loading the data (for Flash Professional, add it to the first frame):System.useCodePage = true;
|
|
126
|
+
* When this code is present, the application interprets external text
|
|
127
|
+
* using the traditional code page of the operating system.
|
|
128
|
+
* For example, this is generally CP1252 for an English Windows operating
|
|
129
|
+
* system and Shift-JIS for a Japanese operating system.If you set useCodePage to true,
|
|
130
|
+
* Flash Player 6 and later treat text as Flash Player 5 does. (Flash Player 5
|
|
131
|
+
* treated all text as if it were in the traditional code page of the operating
|
|
132
|
+
* system running the player.)If you set useCodePage to true, remember that the
|
|
133
|
+
* traditional code page of the operating system running the application must include
|
|
134
|
+
* the characters used in your external text file in order to display your text.
|
|
135
|
+
* For example, if you load an external text file that contains Chinese characters,
|
|
136
|
+
* those characters cannot display on a system that uses the CP1252 code page because
|
|
137
|
+
* that code page does not include Chinese characters.To ensure that users on all platforms
|
|
138
|
+
* can view external text files used in your
|
|
139
|
+
* application, you should encode all external text files as Unicode and leave
|
|
140
|
+
* useCodePage set to false. This way, the application
|
|
141
|
+
* (Flash Player 6 and later, or AIR) interprets the text as Unicode.
|
|
142
|
+
*/
|
|
143
|
+
get: function () {
|
|
144
|
+
notImplemented('public flash.system.System::useCodePage');
|
|
145
|
+
return false;
|
|
146
|
+
},
|
|
147
|
+
set: function (value) {
|
|
148
|
+
notImplemented('public flash.system.System::useCodePage');
|
|
149
|
+
},
|
|
150
|
+
enumerable: false,
|
|
151
|
+
configurable: true
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(System, "vmVersion", {
|
|
154
|
+
get: function () {
|
|
155
|
+
notImplemented('public flash.system.System::vmVersion');
|
|
156
|
+
return '';
|
|
157
|
+
},
|
|
158
|
+
enumerable: false,
|
|
159
|
+
configurable: true
|
|
160
|
+
});
|
|
161
|
+
/**
|
|
162
|
+
* Makes the specified XML object immediately available for garbage collection.
|
|
163
|
+
* This method will remove parent and child connections between all the nodes
|
|
164
|
+
* for the specified XML node.
|
|
165
|
+
* @param node XML reference that should be made available for garbage collection.
|
|
166
|
+
*/
|
|
167
|
+
System.disposeXML = function (node /*XML*/) {
|
|
168
|
+
notImplemented('public flash.system.System::disposeXML');
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Closes Flash Player.
|
|
172
|
+
*
|
|
173
|
+
* For the standalone Flash Player debugger version only.AIR applications
|
|
174
|
+
* should call the NativeApplication.exit() method to exit the application.
|
|
175
|
+
* @param code A value to pass to the operating system. Typically, if
|
|
176
|
+
* the process exits normally, the value is 0.
|
|
177
|
+
*/
|
|
178
|
+
System.exit = function (code) {
|
|
179
|
+
notImplemented('public flash.system.System::exit');
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Forces the garbage collection process.
|
|
183
|
+
*
|
|
184
|
+
* For the Flash Player debugger version and AIR applications only.
|
|
185
|
+
* In an AIR application, the System.gc() method is only enabled in content running in the AIR Debug Launcher
|
|
186
|
+
* (ADL) or, in an installed applcation, in content in the application security sandbox.
|
|
187
|
+
*/
|
|
188
|
+
System.gc = function () {
|
|
189
|
+
notImplemented('public flash.system.System::gc');
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Pauses Flash Player or the AIR Debug Launcher (ADL).
|
|
193
|
+
* After calling this method, nothing in the application continues except the delivery of Socket events.
|
|
194
|
+
*
|
|
195
|
+
* For the Flash Player debugger version or the AIR Debug Launcher (ADL) only.
|
|
196
|
+
*/
|
|
197
|
+
System.pause = function () {
|
|
198
|
+
notImplemented('public flash.system.System::pause');
|
|
199
|
+
};
|
|
200
|
+
System.pauseForGCIfCollectionImminent = function (imminence) {
|
|
201
|
+
if (imminence === void 0) { imminence = 0.75; }
|
|
202
|
+
notImplemented('public flash.system.System::pauseForGCIfCollectionImminent');
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Resumes the application after calling System.pause().
|
|
206
|
+
*
|
|
207
|
+
* For the Flash Player debugger version or the AIR Debug Launcher (ADL) only.
|
|
208
|
+
*/
|
|
209
|
+
System.resume = function () {
|
|
210
|
+
notImplemented('public flash.system.System::resume');
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Replaces the contents of the Clipboard with a specified text string. This method works from any security
|
|
214
|
+
* context when called as a result of a user event (such as a keyboard or input device event handler).
|
|
215
|
+
*
|
|
216
|
+
* This method is provided for SWF content running in Flash Player 9. It allows only adding
|
|
217
|
+
* String content to the Clipboard.Flash Player 10 content and content in the application security sandbox
|
|
218
|
+
* in an AIR application can call
|
|
219
|
+
* the Clipboard.setData() method.
|
|
220
|
+
* @param string A plain-text string of characters to put on the system Clipboard,
|
|
221
|
+
* replacing its current contents (if any).
|
|
222
|
+
*/
|
|
223
|
+
System.setClipboard = function (string) {
|
|
224
|
+
if (navigator.clipboard && navigator.clipboard.writeText) {
|
|
225
|
+
navigator.clipboard.writeText(string)
|
|
226
|
+
.then(function (_e) {
|
|
227
|
+
console.log('[flash/System] Clipboard writed!');
|
|
228
|
+
})
|
|
229
|
+
.catch(function (e) {
|
|
230
|
+
console.warn('[flash/System] Clipboard write rejected!', e);
|
|
231
|
+
});
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
notImplemented('public flash.system.System::setClipboard');
|
|
235
|
+
};
|
|
236
|
+
return System;
|
|
237
|
+
}(ASObject));
|
|
238
|
+
export { System };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ASObject } from '@awayfl/avm2';
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2014 Mozilla Foundation
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export declare class TouchscreenType extends ASObject {
|
|
18
|
+
static classInitializer: any;
|
|
19
|
+
static classSymbols: string[];
|
|
20
|
+
static instanceSymbols: string[];
|
|
21
|
+
constructor();
|
|
22
|
+
static FINGER: string;
|
|
23
|
+
static STYLUS: string;
|
|
24
|
+
static NONE: string;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=TouchscreenType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TouchscreenType.d.ts","sourceRoot":"","sources":["../../../lib/system/TouchscreenType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC;;;;;;;;;;;;;;GAcG;AAEH,qBAAa,eAAgB,SAAQ,QAAQ;IAG5C,MAAM,CAAC,gBAAgB,EAAE,GAAG,CAAQ;IAGpC,MAAM,CAAC,YAAY,EAAE,MAAM,EAAG,CAAQ;IAGtC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAG,CAAQ;;IAMzC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAY;IACjC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAY;IACjC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAU;CAC7B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
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: TouchscreenType
|
|
19
|
+
var TouchscreenType = /** @class */ (function (_super) {
|
|
20
|
+
__extends(TouchscreenType, _super);
|
|
21
|
+
function TouchscreenType() {
|
|
22
|
+
return _super.call(this) || this;
|
|
23
|
+
}
|
|
24
|
+
// Called whenever the class is initialized.
|
|
25
|
+
TouchscreenType.classInitializer = null;
|
|
26
|
+
// List of static symbols to link.
|
|
27
|
+
TouchscreenType.classSymbols = null; // [];
|
|
28
|
+
// List of instance symbols to link.
|
|
29
|
+
TouchscreenType.instanceSymbols = null; // [];
|
|
30
|
+
TouchscreenType.FINGER = 'finger';
|
|
31
|
+
TouchscreenType.STYLUS = 'stylus';
|
|
32
|
+
TouchscreenType.NONE = 'none';
|
|
33
|
+
return TouchscreenType;
|
|
34
|
+
}(ASObject));
|
|
35
|
+
export { TouchscreenType };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ASObject } from '@awayfl/avm2';
|
|
2
|
+
export declare class CSMSettings extends ASObject {
|
|
3
|
+
static classInitializer: any;
|
|
4
|
+
static classSymbols: string[];
|
|
5
|
+
static instanceSymbols: string[];
|
|
6
|
+
fontSize: number;
|
|
7
|
+
insideCutoff: number;
|
|
8
|
+
outsideCutoff: number;
|
|
9
|
+
constructor(fontSize: number, insideCutoff: number, outsideCutoff: number);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=CSMSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CSMSettings.d.ts","sourceRoot":"","sources":["../../../lib/text/CSMSettings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,qBAAa,WAAY,SAAQ,QAAQ;IAExC,OAAc,gBAAgB,EAAE,GAAG,CAAQ;IAC3C,OAAc,YAAY,EAAE,MAAM,EAAG,CAAQ;IAC7C,OAAc,eAAe,EAAE,MAAM,EAAG,CAAQ;IAGzC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;gBAEjB,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM;CASzE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
3
|
+
import { Debug } from '@awayjs/core';
|
|
4
|
+
var CSMSettings = /** @class */ (function (_super) {
|
|
5
|
+
__extends(CSMSettings, _super);
|
|
6
|
+
function CSMSettings(fontSize, insideCutoff, outsideCutoff) {
|
|
7
|
+
var _this = _super.call(this) || this;
|
|
8
|
+
_this.fontSize = +fontSize;
|
|
9
|
+
_this.insideCutoff = +insideCutoff;
|
|
10
|
+
_this.outsideCutoff = +outsideCutoff;
|
|
11
|
+
// @todo
|
|
12
|
+
Debug.throwPIR('playerglobals/text/CSMSettings', 'constructor', '');
|
|
13
|
+
return _this;
|
|
14
|
+
}
|
|
15
|
+
CSMSettings.classInitializer = null;
|
|
16
|
+
CSMSettings.classSymbols = null;
|
|
17
|
+
CSMSettings.instanceSymbols = null; // ["fontSize", "insideCutoff", "outsideCutoff"];
|
|
18
|
+
return CSMSettings;
|
|
19
|
+
}(ASObject));
|
|
20
|
+
export { CSMSettings };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ASObject } from '@awayfl/avm2';
|
|
2
|
+
export declare class Font extends ASObject {
|
|
3
|
+
static forceNativeConstructor: boolean;
|
|
4
|
+
static forceNativeMethods: boolean;
|
|
5
|
+
static classInitializer: any;
|
|
6
|
+
static classSymbols: string[];
|
|
7
|
+
static instanceSymbols: string[];
|
|
8
|
+
isAVMFont: boolean;
|
|
9
|
+
private _adaptee;
|
|
10
|
+
constructor();
|
|
11
|
+
get fontName(): string;
|
|
12
|
+
get fontStyle(): string;
|
|
13
|
+
get fontType(): string;
|
|
14
|
+
static enumerateFonts(enumerateDeviceFonts?: Boolean): [];
|
|
15
|
+
static registerFont(font: any): void;
|
|
16
|
+
hasGlyphs(str: String): Boolean;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Font.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Font.d.ts","sourceRoot":"","sources":["../../../lib/text/Font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAIxC,qBAAa,IAAK,SAAQ,QAAQ;IACjC,MAAM,CAAC,sBAAsB,EAAE,OAAO,CAAQ;IAC9C,MAAM,CAAC,kBAAkB,EAAE,OAAO,CAAQ;IAC1C,MAAM,CAAC,gBAAgB,EAAE,GAAG,CAAQ;IACpC,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,CAAQ;IACrC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAE,CAAQ;IAEjC,SAAS,EAAE,OAAO,CAAQ;IAEjC,OAAO,CAAC,QAAQ,CAAW;;IAc3B,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED,IAAW,SAAS,IAAI,MAAM,CAI7B;IAED,IAAW,QAAQ,IAAI,MAAM,CAI5B;IAED,MAAM,CAAC,cAAc,CAAC,oBAAoB,GAAE,OAAe,GAAG,EAAE;IAMhE,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAK7B,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAKtC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
3
|
+
import { Debug } from '@awayjs/core';
|
|
4
|
+
import { DefaultFontManager } from '@awayjs/scene';
|
|
5
|
+
var Font = /** @class */ (function (_super) {
|
|
6
|
+
__extends(Font, _super);
|
|
7
|
+
function Font() {
|
|
8
|
+
var _this = this;
|
|
9
|
+
var _a;
|
|
10
|
+
_this = _super.call(this) || this;
|
|
11
|
+
_this.isAVMFont = true;
|
|
12
|
+
_this.isAVMFont = true;
|
|
13
|
+
if (_this.axClassName != 'Font') {
|
|
14
|
+
_this._adaptee = DefaultFontManager.getFont(_this.axClassName);
|
|
15
|
+
// Also alias under Font.fontName for TextFormat lookup / embedFonts.
|
|
16
|
+
if ((_a = _this._adaptee) === null || _a === void 0 ? void 0 : _a.name) {
|
|
17
|
+
DefaultFontManager.registerFontForClassName(_this._adaptee, _this._adaptee.name);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return _this;
|
|
21
|
+
}
|
|
22
|
+
Object.defineProperty(Font.prototype, "fontName", {
|
|
23
|
+
get: function () {
|
|
24
|
+
var _a;
|
|
25
|
+
return (_a = this._adaptee) === null || _a === void 0 ? void 0 : _a.name;
|
|
26
|
+
},
|
|
27
|
+
enumerable: false,
|
|
28
|
+
configurable: true
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(Font.prototype, "fontStyle", {
|
|
31
|
+
get: function () {
|
|
32
|
+
// @todo
|
|
33
|
+
Debug.throwPIR('playerglobals/text/Font', 'get fontStyle', '');
|
|
34
|
+
return 'regular';
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(Font.prototype, "fontType", {
|
|
40
|
+
get: function () {
|
|
41
|
+
// @todo
|
|
42
|
+
Debug.throwPIR('playerglobals/text/Font', 'get fontType', '');
|
|
43
|
+
return 'embedded';
|
|
44
|
+
},
|
|
45
|
+
enumerable: false,
|
|
46
|
+
configurable: true
|
|
47
|
+
});
|
|
48
|
+
Font.enumerateFonts = function (enumerateDeviceFonts) {
|
|
49
|
+
if (enumerateDeviceFonts === void 0) { enumerateDeviceFonts = false; }
|
|
50
|
+
// @todo
|
|
51
|
+
Debug.throwPIR('playerglobals/text/Font', 'enumerateFonts', '');
|
|
52
|
+
return [];
|
|
53
|
+
};
|
|
54
|
+
Font.registerFont = function (font) {
|
|
55
|
+
// this is not needed for AwayJS, because fonts are already registered after parsing
|
|
56
|
+
//console.warn('`Font.registerFont` not implement yet');
|
|
57
|
+
};
|
|
58
|
+
Font.prototype.hasGlyphs = function (str) {
|
|
59
|
+
// @todo
|
|
60
|
+
Debug.throwPIR('playerglobals/text/Font', 'hasGlyphs', '');
|
|
61
|
+
return false;
|
|
62
|
+
};
|
|
63
|
+
Font.forceNativeConstructor = true;
|
|
64
|
+
Font.forceNativeMethods = true;
|
|
65
|
+
Font.classInitializer = null;
|
|
66
|
+
Font.classSymbols = null;
|
|
67
|
+
Font.instanceSymbols = null;
|
|
68
|
+
return Font;
|
|
69
|
+
}(ASObject));
|
|
70
|
+
export { Font };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ASObject } from '@awayfl/avm2';
|
|
2
|
+
export declare class FontType extends ASObject {
|
|
3
|
+
static classInitializer: any;
|
|
4
|
+
static classSymbols: string[];
|
|
5
|
+
static instanceSymbols: string[];
|
|
6
|
+
static EMBEDDED: string;
|
|
7
|
+
static EMBEDDED_CFF: string;
|
|
8
|
+
static DEVICE: string;
|
|
9
|
+
constructor();
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=FontType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontType.d.ts","sourceRoot":"","sources":["../../../lib/text/FontType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,qBAAa,QAAS,SAAQ,QAAQ;IAErC,OAAc,gBAAgB,EAAE,GAAG,CAAQ;IAC3C,OAAc,YAAY,EAAE,MAAM,EAAG,CAAQ;IAC7C,OAAc,eAAe,EAAE,MAAM,EAAG,CAAQ;IAGhD,OAAc,QAAQ,EAAE,MAAM,CAAc;IAC5C,OAAc,YAAY,EAAE,MAAM,CAAiB;IACnD,OAAc,MAAM,EAAE,MAAM,CAAY;;CAMxC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
3
|
+
var FontType = /** @class */ (function (_super) {
|
|
4
|
+
__extends(FontType, _super);
|
|
5
|
+
function FontType() {
|
|
6
|
+
return _super.call(this) || this;
|
|
7
|
+
}
|
|
8
|
+
FontType.classInitializer = null;
|
|
9
|
+
FontType.classSymbols = null;
|
|
10
|
+
FontType.instanceSymbols = null;
|
|
11
|
+
// JS -> AS Bindings
|
|
12
|
+
FontType.EMBEDDED = 'embedded';
|
|
13
|
+
FontType.EMBEDDED_CFF = 'embeddedCFF';
|
|
14
|
+
FontType.DEVICE = 'device';
|
|
15
|
+
return FontType;
|
|
16
|
+
}(ASObject));
|
|
17
|
+
export { FontType };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DisplayObject } from '../display/DisplayObject';
|
|
2
|
+
export declare class StaticText extends DisplayObject {
|
|
3
|
+
static classInitializer: any;
|
|
4
|
+
static classSymbols: string[];
|
|
5
|
+
static instanceSymbols: string[];
|
|
6
|
+
private _textContent;
|
|
7
|
+
applySymbol(): void;
|
|
8
|
+
constructor();
|
|
9
|
+
_canHaveTextContent(): boolean;
|
|
10
|
+
_getTextContent(): any;
|
|
11
|
+
get text(): string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=StaticText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticText.d.ts","sourceRoot":"","sources":["../../../lib/text/StaticText.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,qBAAa,UAAW,SAAQ,aAAa;IAE5C,OAAc,gBAAgB,EAAE,GAAG,CAAQ;IAC3C,OAAc,YAAY,EAAE,MAAM,EAAG,CAAQ;IAC7C,OAAc,eAAe,EAAE,MAAM,EAAG,CAAQ;IAEhD,OAAO,CAAC,YAAY,CAAqB;IAGlC,WAAW;;IAWX,mBAAmB,IAAI,OAAO;IAM9B,eAAe,IAAI,GAAG;IAM7B,IAAW,IAAI,IAAI,MAAM,CAIxB;CACD"}
|