├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── ---bug-report.md │ ├── ---feature-request.md │ ├── ---support-openfl.md │ └── --support-question.md └── workflows │ └── main.yml ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── assets └── openfl.png ├── bin └── openfl.js ├── haxelib.json ├── hxformat.json ├── lib-esm ├── openfl │ ├── Lib.js │ ├── Memory.js │ ├── Vector.js │ ├── desktop │ │ ├── Clipboard.js │ │ ├── ClipboardFormats.js │ │ ├── ClipboardTransferMode.js │ │ └── index.js │ ├── display │ │ ├── Bitmap.js │ │ ├── BitmapData.js │ │ ├── BitmapDataChannel.js │ │ ├── BlendMode.js │ │ ├── CanvasRenderer.js │ │ ├── CapsStyle.js │ │ ├── DOMElement.js │ │ ├── DOMRenderer.js │ │ ├── DisplayObject.js │ │ ├── DisplayObjectContainer.js │ │ ├── DisplayObjectRenderer.js │ │ ├── DisplayObjectShader.js │ │ ├── FPS.js │ │ ├── FrameLabel.js │ │ ├── GradientType.js │ │ ├── Graphics.js │ │ ├── GraphicsBitmapFill.js │ │ ├── GraphicsEndFill.js │ │ ├── GraphicsGradientFill.js │ │ ├── GraphicsPath.js │ │ ├── GraphicsPathCommand.js │ │ ├── GraphicsPathWinding.js │ │ ├── GraphicsQuadPath.js │ │ ├── GraphicsShader.js │ │ ├── GraphicsShaderFill.js │ │ ├── GraphicsSolidFill.js │ │ ├── GraphicsStroke.js │ │ ├── GraphicsTrianglePath.js │ │ ├── IBitmapDrawable.js │ │ ├── IGraphicsData.js │ │ ├── IGraphicsFill.js │ │ ├── IGraphicsPath.js │ │ ├── IGraphicsStroke.js │ │ ├── ITileContainer.js │ │ ├── InteractiveObject.js │ │ ├── InterpolationMethod.js │ │ ├── JPEGEncoderOptions.js │ │ ├── JointStyle.js │ │ ├── LineScaleMode.js │ │ ├── Loader.js │ │ ├── LoaderInfo.js │ │ ├── MovieClip.js │ │ ├── OpenGLRenderer.js │ │ ├── PNGEncoderOptions.js │ │ ├── PixelSnapping.js │ │ ├── Preloader.js │ │ ├── Shader.js │ │ ├── ShaderData.js │ │ ├── ShaderInput.js │ │ ├── ShaderJob.js │ │ ├── ShaderParameter.js │ │ ├── ShaderParameterType.js │ │ ├── ShaderPrecision.js │ │ ├── Shape.js │ │ ├── SimpleButton.js │ │ ├── SpreadMethod.js │ │ ├── Sprite.js │ │ ├── Stage.js │ │ ├── Stage3D.js │ │ ├── StageAlign.js │ │ ├── StageDisplayState.js │ │ ├── StageQuality.js │ │ ├── StageScaleMode.js │ │ ├── Tile.js │ │ ├── TileContainer.js │ │ ├── Tilemap.js │ │ ├── Tileset.js │ │ ├── TriangleCulling.js │ │ └── index.js │ ├── display3D │ │ ├── Context3D.js │ │ ├── Context3DBlendFactor.js │ │ ├── Context3DBufferUsage.js │ │ ├── Context3DClearMask.js │ │ ├── Context3DCompareMode.js │ │ ├── Context3DMipFilter.js │ │ ├── Context3DProfile.js │ │ ├── Context3DProgramType.js │ │ ├── Context3DRenderMode.js │ │ ├── Context3DStencilAction.js │ │ ├── Context3DTextureFilter.js │ │ ├── Context3DTextureFormat.js │ │ ├── Context3DTriangleFace.js │ │ ├── Context3DVertexBufferFormat.js │ │ ├── Context3DWrapMode.js │ │ ├── IndexBuffer3D.js │ │ ├── Program3D.js │ │ ├── VertexBuffer3D.js │ │ ├── index.js │ │ └── textures │ │ │ ├── CubeTexture.js │ │ │ ├── RectangleTexture.js │ │ │ ├── Texture.js │ │ │ ├── TextureBase.js │ │ │ ├── VideoTexture.js │ │ │ └── index.js │ ├── errors │ │ ├── ArgumentError.js │ │ ├── EOFError.js │ │ ├── Error.js │ │ ├── IOError.js │ │ ├── IllegalOperationError.js │ │ ├── RangeError.js │ │ ├── SecurityError.js │ │ ├── TypeError.js │ │ └── index.js │ ├── events │ │ ├── AccelerometerEvent.js │ │ ├── ActivityEvent.js │ │ ├── AsyncErrorEvent.js │ │ ├── DataEvent.js │ │ ├── ErrorEvent.js │ │ ├── Event.js │ │ ├── EventDispatcher.js │ │ ├── EventPhase.js │ │ ├── FocusEvent.js │ │ ├── FullScreenEvent.js │ │ ├── GameInputEvent.js │ │ ├── HTTPStatusEvent.js │ │ ├── IEventDispatcher.js │ │ ├── IOErrorEvent.js │ │ ├── KeyboardEvent.js │ │ ├── MouseEvent.js │ │ ├── NetStatusEvent.js │ │ ├── ProgressEvent.js │ │ ├── RenderEvent.js │ │ ├── SampleDataEvent.js │ │ ├── SecurityErrorEvent.js │ │ ├── TextEvent.js │ │ ├── TimerEvent.js │ │ ├── TouchEvent.js │ │ ├── UncaughtErrorEvent.js │ │ ├── UncaughtErrorEvents.js │ │ ├── VideoTextureEvent.js │ │ └── index.js │ ├── external │ │ ├── ExternalInterface.js │ │ └── index.js │ ├── filters │ │ ├── BitmapFilter.js │ │ ├── BitmapFilterQuality.js │ │ ├── BitmapFilterShader.js │ │ ├── BitmapFilterType.js │ │ ├── BlurFilter.js │ │ ├── ColorMatrixFilter.js │ │ ├── ConvolutionFilter.js │ │ ├── DropShadowFilter.js │ │ ├── GlowFilter.js │ │ ├── ShaderFilter.js │ │ └── index.js │ ├── geom │ │ ├── ColorTransform.js │ │ ├── Matrix.js │ │ ├── Matrix3D.js │ │ ├── Orientation3D.js │ │ ├── PerspectiveProjection.js │ │ ├── Point.js │ │ ├── Rectangle.js │ │ ├── Transform.js │ │ ├── Utils3D.js │ │ ├── Vector3D.js │ │ └── index.js │ ├── index.js │ ├── media │ │ ├── ID3Info.js │ │ ├── Sound.js │ │ ├── SoundChannel.js │ │ ├── SoundLoaderContext.js │ │ ├── SoundMixer.js │ │ ├── SoundTransform.js │ │ ├── Video.js │ │ └── index.js │ ├── net │ │ ├── FileFilter.js │ │ ├── FileReference.js │ │ ├── FileReferenceList.js │ │ ├── NetConnection.js │ │ ├── NetStream.js │ │ ├── ObjectEncoding.js │ │ ├── SharedObject.js │ │ ├── SharedObjectFlushStatus.js │ │ ├── Socket.js │ │ ├── URLLoader.js │ │ ├── URLLoaderDataFormat.js │ │ ├── URLRequest.js │ │ ├── URLRequestDefaults.js │ │ ├── URLRequestHeader.js │ │ ├── URLRequestMethod.js │ │ ├── URLStream.js │ │ ├── URLVariables.js │ │ ├── XMLSocket.js │ │ ├── index.js │ │ ├── navigateToURL.js │ │ └── sendToURL.js │ ├── printing │ │ ├── PrintJob.js │ │ ├── PrintJobOptions.js │ │ ├── PrintJobOrientation.js │ │ └── index.js │ ├── profiler │ │ ├── Telemetry.js │ │ └── index.js │ ├── sensors │ │ ├── Accelerometer.js │ │ └── index.js │ ├── system │ │ ├── ApplicationDomain.js │ │ ├── Capabilities.js │ │ ├── LoaderContext.js │ │ ├── Security.js │ │ ├── SecurityDomain.js │ │ ├── System.js │ │ ├── TouchscreenType.js │ │ └── index.js │ ├── text │ │ ├── AntiAliasType.js │ │ ├── Font.js │ │ ├── FontStyle.js │ │ ├── FontType.js │ │ ├── GridFitType.js │ │ ├── StaticText.js │ │ ├── TextField.js │ │ ├── TextFieldAutoSize.js │ │ ├── TextFieldType.js │ │ ├── TextFormat.js │ │ ├── TextFormatAlign.js │ │ ├── TextLineMetrics.js │ │ └── index.js │ ├── ui │ │ ├── GameInput.js │ │ ├── GameInputControl.js │ │ ├── GameInputDevice.js │ │ ├── KeyLocation.js │ │ ├── Keyboard.js │ │ ├── Mouse.js │ │ ├── MouseCursor.js │ │ ├── Multitouch.js │ │ ├── MultitouchInputMode.js │ │ └── index.js │ └── utils │ │ ├── AGALMiniAssembler.js │ │ ├── AssetCache.js │ │ ├── AssetLibrary.js │ │ ├── AssetManifest.js │ │ ├── AssetType.js │ │ ├── Assets.js │ │ ├── ByteArray.js │ │ ├── CompressionAlgorithm.js │ │ ├── Dictionary.js │ │ ├── Endian.js │ │ ├── Future.js │ │ ├── IAssetCache.js │ │ ├── IDataInput.js │ │ ├── IDataOutput.js │ │ ├── IExternalizable.js │ │ ├── Timer.js │ │ ├── clearTimeout.js │ │ ├── getDefinitionByName.js │ │ ├── getQualifiedClassName.js │ │ ├── getQualifiedSuperclassName.js │ │ ├── getTimer.js │ │ ├── index.js │ │ └── setTimeout.js └── path-mapping.js ├── lib ├── openfl │ ├── Assets.hx │ ├── Lib.hx │ ├── Lib.js │ ├── Memory.hx │ ├── Memory.js │ ├── Vector.hx │ ├── Vector.js │ ├── _Vector │ │ ├── VectorIterator.js │ │ └── index.js │ ├── _internal │ │ └── ExtraParams.hx │ ├── desktop │ │ ├── Clipboard.hx │ │ ├── Clipboard.js │ │ ├── ClipboardFormats.hx │ │ ├── ClipboardFormats.js │ │ ├── ClipboardTransferMode.hx │ │ ├── ClipboardTransferMode.js │ │ ├── index.d.ts │ │ └── index.js │ ├── display │ │ ├── AVM1Movie.hx │ │ ├── Bitmap.hx │ │ ├── Bitmap.js │ │ ├── BitmapData.hx │ │ ├── BitmapData.js │ │ ├── BitmapDataChannel.hx │ │ ├── BitmapDataChannel.js │ │ ├── BlendMode.hx │ │ ├── BlendMode.js │ │ ├── CanvasRenderer.hx │ │ ├── CanvasRenderer.js │ │ ├── CapsStyle.hx │ │ ├── CapsStyle.js │ │ ├── DOMElement.hx │ │ ├── DOMElement.js │ │ ├── DOMRenderer.hx │ │ ├── DOMRenderer.js │ │ ├── DisplayObject.hx │ │ ├── DisplayObject.js │ │ ├── DisplayObjectContainer.hx │ │ ├── DisplayObjectContainer.js │ │ ├── DisplayObjectRenderer.hx │ │ ├── DisplayObjectRenderer.js │ │ ├── DisplayObjectShader.hx │ │ ├── DisplayObjectShader.js │ │ ├── FPS.hx │ │ ├── FPS.js │ │ ├── FrameLabel.hx │ │ ├── FrameLabel.js │ │ ├── FrameScript.hx │ │ ├── GradientType.hx │ │ ├── GradientType.js │ │ ├── Graphics.hx │ │ ├── Graphics.js │ │ ├── GraphicsBitmapFill.hx │ │ ├── GraphicsBitmapFill.js │ │ ├── GraphicsEndFill.hx │ │ ├── GraphicsEndFill.js │ │ ├── GraphicsGradientFill.hx │ │ ├── GraphicsGradientFill.js │ │ ├── GraphicsPath.hx │ │ ├── GraphicsPath.js │ │ ├── GraphicsPathCommand.hx │ │ ├── GraphicsPathCommand.js │ │ ├── GraphicsPathWinding.hx │ │ ├── GraphicsPathWinding.js │ │ ├── GraphicsQuadPath.hx │ │ ├── GraphicsQuadPath.js │ │ ├── GraphicsShader.hx │ │ ├── GraphicsShader.js │ │ ├── GraphicsShaderFill.hx │ │ ├── GraphicsShaderFill.js │ │ ├── GraphicsSolidFill.hx │ │ ├── GraphicsSolidFill.js │ │ ├── GraphicsStroke.hx │ │ ├── GraphicsStroke.js │ │ ├── GraphicsTrianglePath.hx │ │ ├── GraphicsTrianglePath.js │ │ ├── IBitmapDrawable.hx │ │ ├── IBitmapDrawable.js │ │ ├── IGraphicsData.hx │ │ ├── IGraphicsData.js │ │ ├── IGraphicsFill.hx │ │ ├── IGraphicsFill.js │ │ ├── IGraphicsPath.hx │ │ ├── IGraphicsPath.js │ │ ├── IGraphicsStroke.hx │ │ ├── IGraphicsStroke.js │ │ ├── ITileContainer.hx │ │ ├── ITileContainer.js │ │ ├── InteractiveObject.hx │ │ ├── InteractiveObject.js │ │ ├── InterpolationMethod.hx │ │ ├── InterpolationMethod.js │ │ ├── JPEGEncoderOptions.hx │ │ ├── JPEGEncoderOptions.js │ │ ├── JointStyle.hx │ │ ├── JointStyle.js │ │ ├── LineScaleMode.hx │ │ ├── LineScaleMode.js │ │ ├── Loader.hx │ │ ├── Loader.js │ │ ├── LoaderInfo.hx │ │ ├── LoaderInfo.js │ │ ├── MovieClip.hx │ │ ├── MovieClip.js │ │ ├── OpenGLRenderer.hx │ │ ├── OpenGLRenderer.js │ │ ├── PNGEncoderOptions.hx │ │ ├── PNGEncoderOptions.js │ │ ├── PixelSnapping.hx │ │ ├── PixelSnapping.js │ │ ├── Preloader.hx │ │ ├── Preloader.js │ │ ├── Scene.hx │ │ ├── Shader.hx │ │ ├── Shader.js │ │ ├── ShaderData.hx │ │ ├── ShaderData.js │ │ ├── ShaderInput.hx │ │ ├── ShaderInput.js │ │ ├── ShaderJob.hx │ │ ├── ShaderJob.js │ │ ├── ShaderParameter.hx │ │ ├── ShaderParameter.js │ │ ├── ShaderParameterType.hx │ │ ├── ShaderParameterType.js │ │ ├── ShaderPrecision.hx │ │ ├── ShaderPrecision.js │ │ ├── Shape.hx │ │ ├── Shape.js │ │ ├── SimpleButton.hx │ │ ├── SimpleButton.js │ │ ├── SpreadMethod.hx │ │ ├── SpreadMethod.js │ │ ├── Sprite.hx │ │ ├── Sprite.js │ │ ├── Stage.hx │ │ ├── Stage.js │ │ ├── Stage3D.hx │ │ ├── Stage3D.js │ │ ├── StageAlign.hx │ │ ├── StageAlign.js │ │ ├── StageDisplayState.hx │ │ ├── StageDisplayState.js │ │ ├── StageQuality.hx │ │ ├── StageQuality.js │ │ ├── StageScaleMode.hx │ │ ├── StageScaleMode.js │ │ ├── Tile.hx │ │ ├── Tile.js │ │ ├── TileContainer.hx │ │ ├── TileContainer.js │ │ ├── Tilemap.hx │ │ ├── Tilemap.js │ │ ├── Tileset.hx │ │ ├── Tileset.js │ │ ├── Timeline.hx │ │ ├── TriangleCulling.hx │ │ ├── TriangleCulling.js │ │ ├── index.d.ts │ │ └── index.js │ ├── display3D │ │ ├── Context3D.hx │ │ ├── Context3D.js │ │ ├── Context3DBlendFactor.hx │ │ ├── Context3DBlendFactor.js │ │ ├── Context3DBufferUsage.hx │ │ ├── Context3DBufferUsage.js │ │ ├── Context3DClearMask.hx │ │ ├── Context3DClearMask.js │ │ ├── Context3DCompareMode.hx │ │ ├── Context3DCompareMode.js │ │ ├── Context3DMipFilter.hx │ │ ├── Context3DMipFilter.js │ │ ├── Context3DProfile.hx │ │ ├── Context3DProfile.js │ │ ├── Context3DProgramType.hx │ │ ├── Context3DProgramType.js │ │ ├── Context3DRenderMode.hx │ │ ├── Context3DRenderMode.js │ │ ├── Context3DStencilAction.hx │ │ ├── Context3DStencilAction.js │ │ ├── Context3DTextureFilter.hx │ │ ├── Context3DTextureFilter.js │ │ ├── Context3DTextureFormat.hx │ │ ├── Context3DTextureFormat.js │ │ ├── Context3DTriangleFace.hx │ │ ├── Context3DTriangleFace.js │ │ ├── Context3DVertexBufferFormat.hx │ │ ├── Context3DVertexBufferFormat.js │ │ ├── Context3DWrapMode.hx │ │ ├── Context3DWrapMode.js │ │ ├── IndexBuffer3D.hx │ │ ├── IndexBuffer3D.js │ │ ├── Program3D.hx │ │ ├── Program3D.js │ │ ├── VertexBuffer3D.hx │ │ ├── VertexBuffer3D.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── textures │ │ │ ├── CubeTexture.hx │ │ │ ├── CubeTexture.js │ │ │ ├── RectangleTexture.hx │ │ │ ├── RectangleTexture.js │ │ │ ├── Texture.hx │ │ │ ├── Texture.js │ │ │ ├── TextureBase.hx │ │ │ ├── TextureBase.js │ │ │ ├── VideoTexture.hx │ │ │ ├── VideoTexture.js │ │ │ ├── index.d.ts │ │ │ └── index.js │ ├── errors │ │ ├── ArgumentError.hx │ │ ├── ArgumentError.js │ │ ├── EOFError.hx │ │ ├── EOFError.js │ │ ├── Error.hx │ │ ├── Error.js │ │ ├── IOError.hx │ │ ├── IOError.js │ │ ├── IllegalOperationError.hx │ │ ├── IllegalOperationError.js │ │ ├── RangeError.hx │ │ ├── RangeError.js │ │ ├── SecurityError.hx │ │ ├── SecurityError.js │ │ ├── TypeError.hx │ │ ├── TypeError.js │ │ ├── index.d.ts │ │ └── index.js │ ├── events │ │ ├── AccelerometerEvent.hx │ │ ├── AccelerometerEvent.js │ │ ├── ActivityEvent.hx │ │ ├── ActivityEvent.js │ │ ├── AsyncErrorEvent.hx │ │ ├── AsyncErrorEvent.js │ │ ├── ContextMenuEvent.hx │ │ ├── DataEvent.hx │ │ ├── DataEvent.js │ │ ├── ErrorEvent.hx │ │ ├── ErrorEvent.js │ │ ├── Event.hx │ │ ├── Event.js │ │ ├── EventDispatcher.hx │ │ ├── EventDispatcher.js │ │ ├── EventPhase.hx │ │ ├── EventPhase.js │ │ ├── EventType.hx │ │ ├── FocusEvent.hx │ │ ├── FocusEvent.js │ │ ├── FullScreenEvent.hx │ │ ├── FullScreenEvent.js │ │ ├── GameInputEvent.hx │ │ ├── GameInputEvent.js │ │ ├── HTTPStatusEvent.hx │ │ ├── HTTPStatusEvent.js │ │ ├── IEventDispatcher.hx │ │ ├── IEventDispatcher.js │ │ ├── IOErrorEvent.hx │ │ ├── IOErrorEvent.js │ │ ├── KeyboardEvent.hx │ │ ├── KeyboardEvent.js │ │ ├── MouseEvent.hx │ │ ├── MouseEvent.js │ │ ├── NetStatusEvent.hx │ │ ├── NetStatusEvent.js │ │ ├── ProgressEvent.hx │ │ ├── ProgressEvent.js │ │ ├── RenderEvent.hx │ │ ├── RenderEvent.js │ │ ├── SampleDataEvent.hx │ │ ├── SampleDataEvent.js │ │ ├── SecurityErrorEvent.hx │ │ ├── SecurityErrorEvent.js │ │ ├── TextEvent.hx │ │ ├── TextEvent.js │ │ ├── TimerEvent.hx │ │ ├── TimerEvent.js │ │ ├── TouchEvent.hx │ │ ├── TouchEvent.js │ │ ├── UncaughtErrorEvent.hx │ │ ├── UncaughtErrorEvent.js │ │ ├── UncaughtErrorEvents.hx │ │ ├── UncaughtErrorEvents.js │ │ ├── VideoTextureEvent.hx │ │ ├── VideoTextureEvent.js │ │ ├── index.d.ts │ │ └── index.js │ ├── external │ │ ├── ExternalInterface.hx │ │ ├── ExternalInterface.js │ │ ├── index.d.ts │ │ └── index.js │ ├── filters │ │ ├── BitmapFilter.hx │ │ ├── BitmapFilter.js │ │ ├── BitmapFilterQuality.hx │ │ ├── BitmapFilterQuality.js │ │ ├── BitmapFilterShader.hx │ │ ├── BitmapFilterShader.js │ │ ├── BitmapFilterType.hx │ │ ├── BitmapFilterType.js │ │ ├── BlurFilter.hx │ │ ├── BlurFilter.js │ │ ├── ColorMatrixFilter.hx │ │ ├── ColorMatrixFilter.js │ │ ├── ConvolutionFilter.hx │ │ ├── ConvolutionFilter.js │ │ ├── DisplacementMapFilter.hx │ │ ├── DisplacementMapFilterMode.hx │ │ ├── DropShadowFilter.hx │ │ ├── DropShadowFilter.js │ │ ├── GlowFilter.hx │ │ ├── GlowFilter.js │ │ ├── ShaderFilter.hx │ │ ├── ShaderFilter.js │ │ ├── index.d.ts │ │ └── index.js │ ├── geom │ │ ├── ColorTransform.hx │ │ ├── ColorTransform.js │ │ ├── Matrix.hx │ │ ├── Matrix.js │ │ ├── Matrix3D.hx │ │ ├── Matrix3D.js │ │ ├── Orientation3D.hx │ │ ├── Orientation3D.js │ │ ├── PerspectiveProjection.hx │ │ ├── PerspectiveProjection.js │ │ ├── Point.hx │ │ ├── Point.js │ │ ├── Rectangle.hx │ │ ├── Rectangle.js │ │ ├── Transform.hx │ │ ├── Transform.js │ │ ├── Utils3D.hx │ │ ├── Utils3D.js │ │ ├── Vector3D.hx │ │ ├── Vector3D.js │ │ ├── index.d.ts │ │ └── index.js │ ├── globalization │ │ ├── DateTimeFormatter.js │ │ ├── DateTimeNameContext.js │ │ ├── DateTimeNameStyle.js │ │ ├── DateTimeStyle.js │ │ ├── LastOperationStatus.js │ │ ├── LocaleID.js │ │ └── index.js │ ├── index.d.ts │ ├── index.js │ ├── media │ │ ├── ID3Info.hx │ │ ├── ID3Info.js │ │ ├── Sound.hx │ │ ├── Sound.js │ │ ├── SoundChannel.hx │ │ ├── SoundChannel.js │ │ ├── SoundLoaderContext.hx │ │ ├── SoundLoaderContext.js │ │ ├── SoundMixer.hx │ │ ├── SoundMixer.js │ │ ├── SoundTransform.hx │ │ ├── SoundTransform.js │ │ ├── Video.hx │ │ ├── Video.js │ │ ├── index.d.ts │ │ └── index.js │ ├── net │ │ ├── FileFilter.hx │ │ ├── FileFilter.js │ │ ├── FileReference.hx │ │ ├── FileReference.js │ │ ├── FileReferenceList.hx │ │ ├── FileReferenceList.js │ │ ├── NetConnection.hx │ │ ├── NetConnection.js │ │ ├── NetStream.hx │ │ ├── NetStream.js │ │ ├── ObjectEncoding.hx │ │ ├── ObjectEncoding.js │ │ ├── SharedObject.hx │ │ ├── SharedObject.js │ │ ├── SharedObjectFlushStatus.hx │ │ ├── SharedObjectFlushStatus.js │ │ ├── Socket.hx │ │ ├── Socket.js │ │ ├── URLLoader.hx │ │ ├── URLLoader.js │ │ ├── URLLoaderDataFormat.hx │ │ ├── URLLoaderDataFormat.js │ │ ├── URLRequest.hx │ │ ├── URLRequest.js │ │ ├── URLRequestDefaults.hx │ │ ├── URLRequestDefaults.js │ │ ├── URLRequestHeader.hx │ │ ├── URLRequestHeader.js │ │ ├── URLRequestMethod.hx │ │ ├── URLRequestMethod.js │ │ ├── URLStream.hx │ │ ├── URLStream.js │ │ ├── URLVariables.hx │ │ ├── URLVariables.js │ │ ├── XMLSocket.hx │ │ ├── XMLSocket.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── navigateToURL.d.ts │ │ ├── navigateToURL.js │ │ └── sendToURL.js │ ├── printing │ │ ├── PrintJob.hx │ │ ├── PrintJob.js │ │ ├── PrintJobOptions.hx │ │ ├── PrintJobOptions.js │ │ ├── PrintJobOrientation.hx │ │ ├── PrintJobOrientation.js │ │ ├── index.d.ts │ │ └── index.js │ ├── profiler │ │ ├── Telemetry.hx │ │ ├── Telemetry.js │ │ ├── index.d.ts │ │ └── index.js │ ├── sensors │ │ ├── Accelerometer.hx │ │ ├── Accelerometer.js │ │ ├── index.d.ts │ │ └── index.js │ ├── system │ │ ├── ApplicationDomain.hx │ │ ├── ApplicationDomain.js │ │ ├── Capabilities.hx │ │ ├── Capabilities.js │ │ ├── LoaderContext.hx │ │ ├── LoaderContext.js │ │ ├── Security.hx │ │ ├── Security.js │ │ ├── SecurityDomain.hx │ │ ├── SecurityDomain.js │ │ ├── System.hx │ │ ├── System.js │ │ ├── TouchscreenType.hx │ │ ├── TouchscreenType.js │ │ ├── index.d.ts │ │ └── index.js │ ├── text │ │ ├── AntiAliasType.hx │ │ ├── AntiAliasType.js │ │ ├── Font.hx │ │ ├── Font.js │ │ ├── FontStyle.hx │ │ ├── FontStyle.js │ │ ├── FontType.hx │ │ ├── FontType.js │ │ ├── GridFitType.hx │ │ ├── GridFitType.js │ │ ├── StaticText.hx │ │ ├── StaticText.js │ │ ├── TextField.hx │ │ ├── TextField.js │ │ ├── TextFieldAutoSize.hx │ │ ├── TextFieldAutoSize.js │ │ ├── TextFieldType.hx │ │ ├── TextFieldType.js │ │ ├── TextFormat.hx │ │ ├── TextFormat.js │ │ ├── TextFormatAlign.hx │ │ ├── TextFormatAlign.js │ │ ├── TextLineMetrics.hx │ │ ├── TextLineMetrics.js │ │ ├── index.d.ts │ │ └── index.js │ ├── ui │ │ ├── GameInput.hx │ │ ├── GameInput.js │ │ ├── GameInputControl.hx │ │ ├── GameInputControl.js │ │ ├── GameInputDevice.hx │ │ ├── GameInputDevice.js │ │ ├── KeyLocation.hx │ │ ├── KeyLocation.js │ │ ├── Keyboard.hx │ │ ├── Keyboard.js │ │ ├── Mouse.hx │ │ ├── Mouse.js │ │ ├── MouseCursor.hx │ │ ├── MouseCursor.js │ │ ├── Multitouch.hx │ │ ├── Multitouch.js │ │ ├── MultitouchInputMode.hx │ │ ├── MultitouchInputMode.js │ │ ├── index.d.ts │ │ └── index.js │ └── utils │ │ ├── AGALMiniAssembler.hx │ │ ├── AGALMiniAssembler.js │ │ ├── AssetCache.hx │ │ ├── AssetCache.js │ │ ├── AssetLibrary.hx │ │ ├── AssetLibrary.js │ │ ├── AssetManifest.hx │ │ ├── AssetManifest.js │ │ ├── AssetType.hx │ │ ├── AssetType.js │ │ ├── Assets.hx │ │ ├── Assets.js │ │ ├── ByteArray.hx │ │ ├── ByteArray.js │ │ ├── CompressionAlgorithm.hx │ │ ├── CompressionAlgorithm.js │ │ ├── Dictionary.as │ │ ├── Dictionary.d.ts │ │ ├── Dictionary.hx │ │ ├── Dictionary.js │ │ ├── Endian.hx │ │ ├── Endian.js │ │ ├── Function.hx │ │ ├── Future.hx │ │ ├── Future.js │ │ ├── IAssetCache.hx │ │ ├── IAssetCache.js │ │ ├── IDataInput.hx │ │ ├── IDataInput.js │ │ ├── IDataOutput.hx │ │ ├── IDataOutput.js │ │ ├── IExternalizable.hx │ │ ├── IExternalizable.js │ │ ├── Object.d.ts │ │ ├── Object.hx │ │ ├── Timer.hx │ │ ├── Timer.js │ │ ├── clearTimeout.js │ │ ├── getDefinitionByName.js │ │ ├── getQualifiedClassName.js │ │ ├── getQualifiedSuperclassName.js │ │ ├── getTimer.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── setTimeout.js └── path-mapping.js ├── package-lock.json ├── package.json ├── scripts ├── .npmignore ├── AS3ExternsGenerator.hx ├── TSExternsGenerator.hx ├── Tools.hx ├── build.hxml ├── docker-run.js ├── generate-es2015.js ├── importAll.ts ├── postinstall.js ├── tools.hxml └── tsconfig.json ├── test ├── es5 │ ├── index.html │ ├── misc │ │ └── ImportTest.js │ ├── openfl │ │ └── desktop │ │ │ ├── ClipboardFormatsTest.js │ │ │ ├── ClipboardTest.js │ │ │ └── ClipboardTransferModeTest.js │ └── webpack.config.js ├── es6 │ ├── entry.js │ ├── index.html │ ├── misc │ │ └── ImportTest.js │ ├── openfl │ │ ├── AssetsTest.hx │ │ ├── LibTest.hx │ │ ├── MemoryTest.hx │ │ ├── VectorTest.hx │ │ ├── desktop │ │ │ ├── ClipboardFormatsTest.js │ │ │ ├── ClipboardTest.js │ │ │ └── ClipboardTransferModeTest.js │ │ ├── display │ │ │ ├── BitmapDataChannelTest.js │ │ │ ├── BitmapDataTest.js │ │ │ ├── BitmapTest.js │ │ │ ├── BlendModeTest.js │ │ │ ├── CapsStyleTest.js │ │ │ ├── DOMElementTest.js │ │ │ ├── DisplayObjectContainerTest.js │ │ │ ├── DisplayObjectTest.js │ │ │ ├── FPSTest.js │ │ │ ├── FrameLabelTest.js │ │ │ ├── GradientTypeTest.js │ │ │ ├── GraphicsBitmapFillTest.js │ │ │ ├── GraphicsEndFillTest.js │ │ │ ├── GraphicsGradientFillTest.js │ │ │ ├── GraphicsPathCommandTest.js │ │ │ ├── GraphicsPathTest.js │ │ │ ├── GraphicsPathWindingTest.js │ │ │ ├── GraphicsSolidFillTest.js │ │ │ ├── GraphicsStrokeTest.js │ │ │ ├── GraphicsTest.js │ │ │ ├── InteractiveObjectTest.js │ │ │ ├── InterpolationMethodTest.js │ │ │ ├── JPEGEncoderOptionsTest.js │ │ │ ├── JointStyleTest.js │ │ │ ├── LineScaleModeTest.js │ │ │ ├── LoaderInfoTest.js │ │ │ ├── LoaderTest.js │ │ │ ├── MovieClipTest.js │ │ │ ├── PNGEncoderOptionsTest.js │ │ │ ├── PixelSnappingTest.js │ │ │ ├── PreloaderTest.js │ │ │ ├── ShaderDataTest.js │ │ │ ├── ShaderInputTest.js │ │ │ ├── ShaderJobTest.js │ │ │ ├── ShaderParameterTest.js │ │ │ ├── ShaderParameterTypeTest.js │ │ │ ├── ShaderPrecisionTest.js │ │ │ ├── ShaderTest.js │ │ │ ├── ShapeTest.js │ │ │ ├── SimpleButtonTest.js │ │ │ ├── SpreadMethodTest.js │ │ │ ├── SpriteTest.js │ │ │ ├── Stage3DTest.js │ │ │ ├── StageAlignTest.js │ │ │ ├── StageDisplayStateTest.js │ │ │ ├── StageQualityTest.js │ │ │ ├── StageScaleModeTest.js │ │ │ ├── StageTest.js │ │ │ ├── TileTest.js │ │ │ ├── TilemapTest.js │ │ │ ├── TilesetTest.js │ │ │ └── TriangleCullingTest.js │ │ ├── display3D │ │ │ ├── Context3DBlendFactorTest.js │ │ │ ├── Context3DBufferUsageTest.js │ │ │ ├── Context3DClearMaskTest.js │ │ │ ├── Context3DCompareModeTest.js │ │ │ ├── Context3DMipFilterTest.js │ │ │ ├── Context3DProfileTest.js │ │ │ ├── Context3DProgramTypeTest.js │ │ │ ├── Context3DRenderModeTest.js │ │ │ ├── Context3DStencilActionTest.js │ │ │ ├── Context3DTest.js │ │ │ ├── Context3DTextureFilterTest.js │ │ │ ├── Context3DTextureFormatTest.js │ │ │ ├── Context3DTriangleFaceTest.js │ │ │ ├── Context3DVertexBufferFormatTest.js │ │ │ ├── Context3DWrapModeTest.js │ │ │ ├── IndexBuffer3DTest.js │ │ │ ├── Program3DTest.js │ │ │ ├── VertexBuffer3DTest.js │ │ │ └── textures │ │ │ │ ├── CubeTextureTest.js │ │ │ │ ├── RectangleTextureTest.js │ │ │ │ ├── TextureBaseTest.js │ │ │ │ └── TextureTest.js │ │ ├── errors │ │ │ ├── ArgumentErrorTest.js │ │ │ ├── EOFErrorTest.js │ │ │ ├── ErrorTest.js │ │ │ ├── IOErrorTest.js │ │ │ ├── IllegalOperationErrorTest.js │ │ │ ├── RangeErrorTest.js │ │ │ ├── SecurityErrorTest.js │ │ │ └── TypeErrorTest.js │ │ ├── events │ │ │ ├── AccelerometerEventTest.js │ │ │ ├── ActivityEventTest.js │ │ │ ├── AsyncErrorEventTest.js │ │ │ ├── DataEventTest.js │ │ │ ├── ErrorEventTest.js │ │ │ ├── EventDispatcherTest.js │ │ │ ├── EventPhaseTest.js │ │ │ ├── EventTest.js │ │ │ ├── FocusEventTest.js │ │ │ ├── FullScreenEventTest.js │ │ │ ├── GameInputEventTest.js │ │ │ ├── HTTPStatusEventTest.js │ │ │ ├── IOErrorEventTest.js │ │ │ ├── KeyboardEventTest.js │ │ │ ├── MouseEventTest.js │ │ │ ├── NetStatusEventTest.js │ │ │ ├── ProgressEventTest.js │ │ │ ├── SampleDataEventTest.js │ │ │ ├── SecurityErrorEventTest.js │ │ │ ├── TextEventTest.js │ │ │ ├── TimerEventTest.js │ │ │ ├── TouchEventTest.js │ │ │ ├── UncaughtErrorEventTest.js │ │ │ └── UncaughtErrorEventsTest.js │ │ ├── external │ │ │ └── ExternalInterfaceTest.js │ │ ├── filters │ │ │ ├── BitmapFilterQuality.js │ │ │ ├── BitmapFilterTest.js │ │ │ ├── BitmapFilterTypeTest.js │ │ │ ├── BlurFilterTest.js │ │ │ ├── ColorMatrixFilterTest.js │ │ │ ├── DropShadowFilterTest.js │ │ │ ├── GlowFilterTest.js │ │ │ └── ShaderFilterTest.js │ │ ├── geom │ │ │ ├── ColorTransformTest.js │ │ │ ├── Matrix3DTest.js │ │ │ ├── MatrixTest.js │ │ │ ├── Orientation3DTest.js │ │ │ ├── PerspectiveProjectionTest.js │ │ │ ├── PointTest.js │ │ │ ├── RectangleTest.js │ │ │ ├── TransformTest.js │ │ │ ├── Utils3DTest.js │ │ │ └── Vector3DTest.js │ │ ├── media │ │ │ ├── ID3InfoTest.js │ │ │ ├── SoundChannelTest.js │ │ │ ├── SoundLoaderContextTest.js │ │ │ ├── SoundTest.js │ │ │ └── SoundTransformTest.js │ │ ├── net │ │ │ ├── SharedObjectFlushStatusTest.js │ │ │ ├── SharedObjectTest.js │ │ │ ├── URLLoaderDataFormatTest.js │ │ │ ├── URLLoaderTest.js │ │ │ ├── URLRequestHeaderTest.js │ │ │ ├── URLRequestMethodTest.js │ │ │ ├── URLRequestTest.js │ │ │ └── URLVariablesTest.js │ │ ├── sensors │ │ │ └── AccelerometerTest.js │ │ ├── system │ │ │ ├── ApplicationDomainTest.js │ │ │ ├── CapabilitiesTest.js │ │ │ ├── LoaderContextTest.js │ │ │ ├── SecurityDomainTest.js │ │ │ └── SystemTest.js │ │ ├── text │ │ │ ├── AntiAliasTypeTest.js │ │ │ ├── FontStyleTest.js │ │ │ ├── FontTest.js │ │ │ ├── FontTypeTest.js │ │ │ ├── GridFitTypeTest.js │ │ │ ├── TextFieldAutoSizeTest.js │ │ │ ├── TextFieldTest.js │ │ │ ├── TextFieldTypeTest.js │ │ │ ├── TextFormatAlignTest.js │ │ │ ├── TextFormatTest.js │ │ │ └── TextLineMetricsTest.js │ │ ├── ui │ │ │ ├── KeyboardTest.js │ │ │ ├── MouseTest.js │ │ │ ├── MultitouchInputModeTest.js │ │ │ └── MultitouchTest.js │ │ └── utils │ │ │ ├── ByteArrayTest.js │ │ │ ├── CompressionAlgorithmTest.js │ │ │ ├── DictionaryTest.hx │ │ │ ├── EndianTest.js │ │ │ └── TimerTest.js │ └── webpack.config.js ├── haxe │ ├── .gitignore │ ├── build.hxml │ ├── index.html │ ├── openfl │ │ ├── 1x1.png │ │ ├── AssetsTest.hx │ │ ├── LibTest.hx │ │ ├── MemoryTest.hx │ │ ├── VectorTest.hx │ │ ├── desktop │ │ │ ├── ClipboardFormatsTest.hx │ │ │ ├── ClipboardTest.hx │ │ │ └── ClipboardTransferModeTest.hx │ │ ├── display │ │ │ ├── BitmapDataChannelTest.hx │ │ │ ├── BitmapDataTest.hx │ │ │ ├── BitmapTest.hx │ │ │ ├── BlendModeTest.hx │ │ │ ├── CapsStyleTest.hx │ │ │ ├── DOMElementTest.hx │ │ │ ├── DisplayObjectContainerTest.hx │ │ │ ├── DisplayObjectTest.hx │ │ │ ├── FPSTest.hx │ │ │ ├── FrameLabelTest.hx │ │ │ ├── GradientTypeTest.hx │ │ │ ├── GraphicsBitmapFillTest.hx │ │ │ ├── GraphicsEndFillTest.hx │ │ │ ├── GraphicsGradientFillTest.hx │ │ │ ├── GraphicsPathCommandTest.hx │ │ │ ├── GraphicsPathTest.hx │ │ │ ├── GraphicsPathWindingTest.hx │ │ │ ├── GraphicsSolidFillTest.hx │ │ │ ├── GraphicsStrokeTest.hx │ │ │ ├── GraphicsTest.hx │ │ │ ├── InteractiveObjectTest.hx │ │ │ ├── InterpolationMethodTest.hx │ │ │ ├── JPEGEncoderOptionsTest.hx │ │ │ ├── JointStyleTest.hx │ │ │ ├── LineScaleModeTest.hx │ │ │ ├── LoaderInfoTest.hx │ │ │ ├── LoaderTest.hx │ │ │ ├── MovieClipTest.hx │ │ │ ├── PNGEncoderOptionsTest.hx │ │ │ ├── PixelSnappingTest.hx │ │ │ ├── PreloaderTest.hx │ │ │ ├── ShaderDataTest.hx │ │ │ ├── ShaderInputTest.hx │ │ │ ├── ShaderJobTest.hx │ │ │ ├── ShaderParameterTest.hx │ │ │ ├── ShaderParameterTypeTest.hx │ │ │ ├── ShaderPrecisionTest.hx │ │ │ ├── ShaderTest.hx │ │ │ ├── ShapeTest.hx │ │ │ ├── SimpleButtonTest.hx │ │ │ ├── SpreadMethodTest.hx │ │ │ ├── SpriteTest.hx │ │ │ ├── Stage3DTest.hx │ │ │ ├── StageAlignTest.hx │ │ │ ├── StageDisplayStateTest.hx │ │ │ ├── StageQualityTest.hx │ │ │ ├── StageScaleModeTest.hx │ │ │ ├── StageTest.hx │ │ │ ├── TileTest.hx │ │ │ ├── TilemapTest.hx │ │ │ ├── TilesetTest.hx │ │ │ └── TriangleCullingTest.hx │ │ ├── display3D │ │ │ ├── Context3DBlendFactorTest.hx │ │ │ ├── Context3DBufferUsageTest.hx │ │ │ ├── Context3DClearMaskTest.hx │ │ │ ├── Context3DCompareModeTest.hx │ │ │ ├── Context3DMipFilterTest.hx │ │ │ ├── Context3DProfileTest.hx │ │ │ ├── Context3DProgramTypeTest.hx │ │ │ ├── Context3DRenderModeTest.hx │ │ │ ├── Context3DStencilActionTest.hx │ │ │ ├── Context3DTest.hx │ │ │ ├── Context3DTextureFilterTest.hx │ │ │ ├── Context3DTextureFormatTest.hx │ │ │ ├── Context3DTriangleFaceTest.hx │ │ │ ├── Context3DVertexBufferFormatTest.hx │ │ │ ├── Context3DWrapModeTest.hx │ │ │ ├── IndexBuffer3DTest.hx │ │ │ ├── Program3DTest.hx │ │ │ ├── VertexBuffer3DTest.hx │ │ │ └── textures │ │ │ │ ├── CubeTextureTest.hx │ │ │ │ ├── RectangleTextureTest.hx │ │ │ │ ├── TextureBaseTest.hx │ │ │ │ └── TextureTest.hx │ │ ├── errors │ │ │ ├── ArgumentErrorTest.hx │ │ │ ├── EOFErrorTest.hx │ │ │ ├── ErrorTest.hx │ │ │ ├── IOErrorTest.hx │ │ │ ├── IllegalOperationErrorTest.hx │ │ │ ├── RangeErrorTest.hx │ │ │ ├── SecurityErrorTest.hx │ │ │ └── TypeErrorTest.hx │ │ ├── events │ │ │ ├── AccelerometerEventTest.hx │ │ │ ├── ActivityEventTest.hx │ │ │ ├── AsyncErrorEventTest.hx │ │ │ ├── DataEventTest.hx │ │ │ ├── ErrorEventTest.hx │ │ │ ├── EventDispatcherTest.hx │ │ │ ├── EventPhaseTest.hx │ │ │ ├── EventTest.hx │ │ │ ├── FocusEventTest.hx │ │ │ ├── FullScreenEventTest.hx │ │ │ ├── GameInputEventTest.hx │ │ │ ├── HTTPStatusEventTest.hx │ │ │ ├── IOErrorEventTest.hx │ │ │ ├── KeyboardEventTest.hx │ │ │ ├── MouseEventTest.hx │ │ │ ├── NetStatusEventTest.hx │ │ │ ├── ProgressEventTest.hx │ │ │ ├── SampleDataEventTest.hx │ │ │ ├── SecurityErrorEventTest.hx │ │ │ ├── TextEventTest.hx │ │ │ ├── TimerEventTest.hx │ │ │ ├── TouchEventTest.hx │ │ │ ├── UncaughtErrorEventTest.hx │ │ │ └── UncaughtErrorEventsTest.hx │ │ ├── external │ │ │ └── ExternalInterfaceTest.hx │ │ ├── filters │ │ │ ├── BitmapFilterQuality.hx │ │ │ ├── BitmapFilterTest.hx │ │ │ ├── BitmapFilterTypeTest.hx │ │ │ ├── BlurFilterTest.hx │ │ │ ├── ColorMatrixFilterTest.hx │ │ │ ├── DropShadowFilterTest.hx │ │ │ ├── GlowFilterTest.hx │ │ │ └── ShaderFilterTest.hx │ │ ├── geom │ │ │ ├── ColorTransformTest.hx │ │ │ ├── Matrix3DTest.hx │ │ │ ├── MatrixTest.hx │ │ │ ├── Orientation3DTest.hx │ │ │ ├── PerspectiveProjectionTest.hx │ │ │ ├── PointTest.hx │ │ │ ├── RectangleTest.hx │ │ │ ├── TransformTest.hx │ │ │ ├── Utils3DTest.hx │ │ │ └── Vector3DTest.hx │ │ ├── media │ │ │ ├── ID3InfoTest.hx │ │ │ ├── SoundChannelTest.hx │ │ │ ├── SoundLoaderContextTest.hx │ │ │ ├── SoundTest.hx │ │ │ └── SoundTransformTest.hx │ │ ├── net │ │ │ ├── SharedObjectFlushStatusTest.hx │ │ │ ├── SharedObjectTest.hx │ │ │ ├── URLLoaderDataFormatTest.hx │ │ │ ├── URLLoaderTest.hx │ │ │ ├── URLRequestHeaderTest.hx │ │ │ ├── URLRequestMethodTest.hx │ │ │ ├── URLRequestTest.hx │ │ │ └── URLVariablesTest.hx │ │ ├── sensors │ │ │ └── AccelerometerTest.hx │ │ ├── system │ │ │ ├── ApplicationDomainTest.hx │ │ │ ├── CapabilitiesTest.hx │ │ │ ├── LoaderContextTest.hx │ │ │ ├── SecurityDomainTest.hx │ │ │ └── SystemTest.hx │ │ ├── text │ │ │ ├── AntiAliasTypeTest.hx │ │ │ ├── FontStyleTest.hx │ │ │ ├── FontTest.hx │ │ │ ├── FontTypeTest.hx │ │ │ ├── GridFitTypeTest.hx │ │ │ ├── TextFieldAutoSizeTest.hx │ │ │ ├── TextFieldTest.hx │ │ │ ├── TextFieldTypeTest.hx │ │ │ ├── TextFormatAlignTest.hx │ │ │ ├── TextFormatTest.hx │ │ │ └── TextLineMetricsTest.hx │ │ ├── ui │ │ │ ├── KeyboardTest.hx │ │ │ ├── MouseTest.hx │ │ │ ├── MultitouchInputModeTest.hx │ │ │ └── MultitouchTest.hx │ │ └── utils │ │ │ ├── ByteArrayTest.hx │ │ │ ├── CompressionAlgorithmTest.hx │ │ │ ├── DictionaryTest.hx │ │ │ ├── EndianTest.hx │ │ │ └── TimerTest.hx │ ├── src │ │ ├── Assert.hx │ │ ├── Main.hx │ │ └── Mocha.hx │ └── webpack.config.js ├── index.html └── typescript │ ├── .gitignore │ ├── chai.d.ts │ ├── entry.ts │ ├── index.html │ ├── misc │ └── ImportTest.ts │ ├── openfl │ ├── VectorTest.ts │ ├── desktop │ │ ├── ClipboardFormatsTest.ts │ │ ├── ClipboardTest.ts │ │ └── ClipboardTransferModeTest.ts │ ├── display │ │ ├── BitmapDataChannelTest.ts │ │ ├── BitmapDataTest.ts │ │ ├── BitmapTest.ts │ │ ├── BlendModeTest.ts │ │ ├── CapsStyleTest.ts │ │ ├── DOMElementTest.ts │ │ ├── DisplayObjectContainerTest.ts │ │ ├── DisplayObjectTest.ts │ │ ├── FPSTest.ts │ │ ├── FrameLabelTest.ts │ │ ├── GradientTypeTest.ts │ │ ├── GraphicsBitmapFillTest.ts │ │ ├── GraphicsEndFillTest.ts │ │ ├── GraphicsGradientFillTest.ts │ │ ├── GraphicsPathCommandTest.ts │ │ ├── GraphicsPathTest.ts │ │ ├── GraphicsPathWindingTest.ts │ │ ├── GraphicsSolidFillTest.ts │ │ ├── GraphicsStrokeTest.ts │ │ ├── GraphicsTest.ts │ │ ├── InteractiveObjectTest.ts │ │ ├── InterpolationMethodTest.ts │ │ ├── JPEGEncoderOptionsTest.ts │ │ ├── JointStyleTest.ts │ │ ├── LineScaleModeTest.ts │ │ ├── LoaderInfoTest.ts │ │ ├── LoaderTest.ts │ │ ├── MovieClipTest.ts │ │ ├── PNGEncoderOptionsTest.ts │ │ ├── PixelSnappingTest.ts │ │ ├── PreloaderTest.ts │ │ ├── ShaderDataTest.ts │ │ ├── ShaderInputTest.ts │ │ ├── ShaderJobTest.ts │ │ ├── ShaderParameterTest.ts │ │ ├── ShaderParameterTypeTest.ts │ │ ├── ShaderPrecisionTest.ts │ │ ├── ShaderTest.ts │ │ ├── ShapeTest.ts │ │ ├── SimpleButtonTest.ts │ │ ├── SpreadMethodTest.ts │ │ ├── SpriteTest.ts │ │ ├── Stage3DTest.ts │ │ ├── StageAlignTest.ts │ │ ├── StageDisplayStateTest.ts │ │ ├── StageQualityTest.ts │ │ ├── StageScaleModeTest.ts │ │ ├── StageTest.ts │ │ ├── TileTest.ts │ │ ├── TilemapTest.ts │ │ ├── TilesetTest.ts │ │ └── TriangleCullingTest.ts │ ├── display3D │ │ ├── Context3DBlendFactorTest.ts │ │ ├── Context3DBufferUsageTest.ts │ │ ├── Context3DClearMaskTest.ts │ │ ├── Context3DCompareModeTest.ts │ │ ├── Context3DMipFilterTest.ts │ │ ├── Context3DProfileTest.ts │ │ ├── Context3DProgramTypeTest.ts │ │ ├── Context3DRenderModeTest.ts │ │ ├── Context3DStencilActionTest.ts │ │ ├── Context3DTest.ts │ │ ├── Context3DTextureFilterTest.ts │ │ ├── Context3DTextureFormatTest.ts │ │ ├── Context3DTriangleFaceTest.ts │ │ ├── Context3DVertexBufferFormatTest.ts │ │ ├── Context3DWrapModeTest.ts │ │ ├── IndexBuffer3DTest.ts │ │ ├── Program3DTest.ts │ │ ├── VertexBuffer3DTest.ts │ │ └── textures │ │ │ ├── CubeTextureTest.ts │ │ │ ├── RectangleTextureTest.ts │ │ │ ├── TextureBaseTest.ts │ │ │ └── TextureTest.ts │ ├── errors │ │ ├── ArgumentErrorTest.ts │ │ ├── EOFErrorTest.ts │ │ ├── ErrorTest.ts │ │ ├── IOErrorTest.ts │ │ ├── IllegalOperationErrorTest.ts │ │ ├── RangeErrorTest.ts │ │ ├── SecurityErrorTest.ts │ │ └── TypeErrorTest.ts │ ├── events │ │ ├── AccelerometerEventTest.ts │ │ ├── ActivityEventTest.ts │ │ ├── AsyncErrorEventTest.ts │ │ ├── DataEventTest.ts │ │ ├── ErrorEventTest.ts │ │ ├── EventDispatcherTest.ts │ │ ├── EventPhaseTest.ts │ │ ├── EventTest.ts │ │ ├── FocusEventTest.ts │ │ ├── FullScreenEventTest.ts │ │ ├── GameInputEventTest.ts │ │ ├── HTTPStatusEventTest.ts │ │ ├── IOErrorEventTest.ts │ │ ├── KeyboardEventTest.ts │ │ ├── MouseEventTest.ts │ │ ├── NetStatusEventTest.ts │ │ ├── ProgressEventTest.ts │ │ ├── SampleDataEventTest.ts │ │ ├── SecurityErrorEventTest.ts │ │ ├── TextEventTest.ts │ │ ├── TimerEventTest.ts │ │ ├── TouchEventTest.ts │ │ ├── UncaughtErrorEventTest.ts │ │ └── UncaughtErrorEventsTest.ts │ ├── external │ │ └── ExternalInterfaceTest.ts │ ├── filters │ │ ├── BitmapFilterQuality.ts │ │ ├── BitmapFilterTest.ts │ │ ├── BitmapFilterTypeTest.ts │ │ ├── BlurFilterTest.ts │ │ ├── ColorMatrixFilterTest.ts │ │ ├── DropShadowFilterTest.ts │ │ ├── GlowFilterTest.ts │ │ └── ShaderFilterTest.ts │ ├── geom │ │ ├── ColorTransformTest.ts │ │ ├── Matrix3DTest.ts │ │ ├── MatrixTest.ts │ │ ├── Orientation3DTest.ts │ │ ├── PerspectiveProjectionTest.ts │ │ ├── PointTest.ts │ │ ├── RectangleTest.ts │ │ ├── TransformTest.ts │ │ ├── Utils3DTest.ts │ │ └── Vector3DTest.ts │ ├── media │ │ ├── ID3InfoTest.ts │ │ ├── SoundChannelTest.ts │ │ ├── SoundLoaderContextTest.ts │ │ ├── SoundTest.ts │ │ └── SoundTransformTest.ts │ ├── net │ │ ├── SharedObjectFlushStatusTest.ts │ │ ├── SharedObjectTest.ts │ │ ├── URLLoaderDataFormatTest.ts │ │ ├── URLLoaderTest.ts │ │ ├── URLRequestHeaderTest.ts │ │ ├── URLRequestMethodTest.ts │ │ ├── URLRequestTest.ts │ │ └── URLVariablesTest.ts │ ├── sensors │ │ └── AccelerometerTest.ts │ ├── system │ │ ├── ApplicationDomainTest.ts │ │ ├── CapabilitiesTest.ts │ │ ├── LoaderContextTest.ts │ │ ├── SecurityDomainTest.ts │ │ └── SystemTest.ts │ ├── text │ │ ├── AntiAliasTypeTest.ts │ │ ├── FontStyleTest.ts │ │ ├── FontTest.ts │ │ ├── FontTypeTest.ts │ │ ├── GridFitTypeTest.ts │ │ ├── TextFieldAutoSizeTest.ts │ │ ├── TextFieldTest.ts │ │ ├── TextFieldTypeTest.ts │ │ ├── TextFormatAlignTest.ts │ │ ├── TextFormatTest.ts │ │ └── TextLineMetricsTest.ts │ ├── ui │ │ ├── KeyboardTest.ts │ │ ├── MouseTest.ts │ │ ├── MultitouchInputModeTest.ts │ │ └── MultitouchTest.ts │ └── utils │ │ ├── ByteArrayTest.ts │ │ ├── CompressionAlgorithmTest.ts │ │ ├── DictionaryTest.ts │ │ ├── EndianTest.ts │ │ └── TimerTest.ts │ ├── tsconfig.json │ └── webpack.config.js ├── webpack.common.js ├── webpack.dev.js └── webpack.prod.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh eol=lf -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | samples 3 | test 4 | package-lock.json 5 | npm-debug.log 6 | *.map 7 | *.tgz 8 | -------------------------------------------------------------------------------- /assets/openfl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfl/openfl-js/75349d9467ed74ae0f8efdccc0ac940d6524f030/assets/openfl.png -------------------------------------------------------------------------------- /bin/openfl.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var child_process = require ("child_process"); 4 | child_process.fork (__dirname + "/tools.js", process.argv); -------------------------------------------------------------------------------- /haxelib.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "openfl-js", 3 | "url": "http://www.openfl.org", 4 | "license": "MIT", 5 | "tags": [], 6 | "description": "The \"Open Flash Library\" for fast 2D development (JS version)", 7 | "version": "9.4.1", 8 | "releasenote": "Initial release", 9 | "contributors": [ "singmajesty" ], 10 | "classPath": "lib" 11 | } -------------------------------------------------------------------------------- /hxformat.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludes": [ 3 | "\\assets", 4 | "/assets", 5 | "\\node_modules", 6 | "/node_modules" 7 | ], 8 | "lineEnds": { 9 | "leftCurly": "both", 10 | "rightCurly": "both", 11 | "objectLiteralCurly": { 12 | "leftCurly": "after" 13 | } 14 | }, 15 | "sameLine": { 16 | "ifBody": "same", 17 | "ifElse": "next", 18 | "doWhile": "next", 19 | "tryBody": "next", 20 | "tryCatch": "next" 21 | } 22 | } -------------------------------------------------------------------------------- /lib-esm/openfl/Lib.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../_gen/openfl/Lib"; -------------------------------------------------------------------------------- /lib-esm/openfl/Memory.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../_gen/openfl/Memory"; -------------------------------------------------------------------------------- /lib-esm/openfl/Vector.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../_gen/openfl/VectorData"; -------------------------------------------------------------------------------- /lib-esm/openfl/desktop/Clipboard.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/desktop/Clipboard"; -------------------------------------------------------------------------------- /lib-esm/openfl/desktop/ClipboardFormats.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | HTML_FORMAT: "air:html", 4 | RICH_TEXT_FORMAT: "air:rtf", 5 | TEXT_FORMAT: "air:text" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/desktop/ClipboardTransferMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | CLONE_ONLY: "cloneOnly", 4 | CLONE_PREFERRED: "clonePreferred", 5 | ORIGINAL_ONLY: "originalOnly", 6 | ORIGINAL_PREFERRED: "originalPreferred" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/desktop/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as Clipboard } from "./Clipboard"; 3 | export { default as ClipboardFormats } from "./ClipboardFormats"; 4 | export { default as ClipboardTransferMode } from "./ClipboardTransferMode"; 5 | -------------------------------------------------------------------------------- /lib-esm/openfl/display/Bitmap.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Bitmap"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/BitmapData.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/BitmapData"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/BitmapDataChannel.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ALPHA: 8, 4 | BLUE: 4, 5 | GREEN: 2, 6 | RED: 1 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/BlendMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ADD: "add", 4 | ALPHA: "alpha", 5 | DARKEN: "darken", 6 | DIFFERENCE: "difference", 7 | ERASE: "erase", 8 | HARDLIGHT: "hardlight", 9 | INVERT: "invert", 10 | LAYER: "layer", 11 | LIGHTEN: "lighten", 12 | MULTIPLY: "multiply", 13 | NORMAL: "normal", 14 | OVERLAY: "overlay", 15 | SCREEN: "screen", 16 | SHADER: "shader", 17 | SUBTRACT: "subtract" 18 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/CanvasRenderer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/CanvasRenderer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/CapsStyle.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | NONE: "none", 4 | ROUND: "round", 5 | SQUARE: "square" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/DOMElement.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/DOMElement"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/DOMRenderer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/DOMRenderer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/DisplayObject.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/DisplayObject"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/DisplayObjectContainer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/DisplayObjectContainer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/DisplayObjectRenderer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/DisplayObjectRenderer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/DisplayObjectShader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/DisplayObjectShader"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/FPS.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/FPS"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/FrameLabel.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/FrameLabel"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GradientType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | LINEAR: "linear", 4 | RADIAL: "radial" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Graphics.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Graphics"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsBitmapFill.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsBitmapFill"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsEndFill.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsEndFill"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsGradientFill.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsGradientFill"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsPath.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsPath"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsPathCommand.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | CUBIC_CURVE_TO: 6, 4 | CURVE_TO: 3, 5 | LINE_TO: 2, 6 | MOVE_TO: 1, 7 | NO_OP: 0, 8 | WIDE_LINE_TO: 5, 9 | WIDE_MOVE_TO: 4 10 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsPathWinding.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | EVEN_ODD: "evenOdd", 4 | NON_ZERO: "nonZero" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsQuadPath.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsQuadPath"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsShader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsShader"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsShaderFill.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsShaderFill"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsSolidFill.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsSolidFill"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsStroke.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsStroke"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/GraphicsTrianglePath.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/GraphicsTrianglePath"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/IBitmapDrawable.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/IBitmapDrawable"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/IGraphicsData.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/IGraphicsData"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/IGraphicsFill.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/IGraphicsFill"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/IGraphicsPath.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/IGraphicsPath"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/IGraphicsStroke.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/IGraphicsStroke"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/ITileContainer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/ITileContainer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/InteractiveObject.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/InteractiveObject"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/InterpolationMethod.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | LINEAR_RGB: "linearRGB", 4 | RGB: "rgb" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/JPEGEncoderOptions.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/JPEGEncoderOptions"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/JointStyle.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BEVEL: "bevel", 4 | MITER: "miter", 5 | ROUND: "round" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/LineScaleMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | HORIZONTAL: "horizontal", 4 | NONE: "none", 5 | NORMAL: "normal", 6 | VERTICAL: "vertical" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Loader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Loader"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/LoaderInfo.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/LoaderInfo"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/MovieClip.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/MovieClip"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/OpenGLRenderer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/OpenGLRenderer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/PNGEncoderOptions.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/PNGEncoderOptions"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/PixelSnapping.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ALWAYS: "always", 4 | AUTO: "auto", 5 | NEVER: "never" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Preloader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Preloader"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Shader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Shader"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/ShaderData.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/ShaderData"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/ShaderInput.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/ShaderInput"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/ShaderJob.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/ShaderJob"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/ShaderParameter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/ShaderParameter"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/ShaderPrecision.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | FAST: "fast", 4 | FULL: "full" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Shape.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Shape"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/SimpleButton.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/SimpleButton"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/SpreadMethod.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | PAD: "pad", 4 | REFLECT: "reflect", 5 | REPEAT: "repeat" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Sprite.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Sprite"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Stage.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Stage"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Stage3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Stage3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/StageAlign.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BOTTOM: "bottom", 4 | BOTTOM_LEFT: "bottomLeft", 5 | BOTTOM_RIGHT: "bottomRight", 6 | LEFT: "left", 7 | RIGHT: "right", 8 | TOP: "top", 9 | TOP_LEFT: "topLeft", 10 | TOP_RIGHT: "topRight", 11 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/StageDisplayState.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | FULL_SCREEN: "fullScreen", 4 | FULL_SCREEN_INTERACTIVE: "fullScreenInteractive", 5 | NORMAL: "normal" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/StageQuality.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BEST: "best", 4 | HIGH: "high", 5 | LOW: "low", 6 | MEDIUM: "medium" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/StageScaleMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | EXACT_FIT: "exactFit", 4 | NO_BORDER: "noBorder", 5 | NO_SCALE: "noScale", 6 | SHOW_ALL: "showAll" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Tile.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Tile"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/TileContainer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/TileContainer"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Tilemap.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Tilemap"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/Tileset.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display/Tileset"; -------------------------------------------------------------------------------- /lib-esm/openfl/display/TriangleCulling.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | NEGATIVE: "negative", 4 | NONE: "none", 5 | POSITIVE: "positive" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display3D/Context3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DBlendFactor.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DESTINATION_ALPHA: "destinationAlpha", 4 | DESTINATION_COLOR: "destinationColor", 5 | ONE: "one", 6 | ONE_MINUS_DESTINATION_ALPHA: "oneMinusDestinationAlpha", 7 | ONE_MINUS_DESTINATION_COLOR: "oneMinusDestinationColor", 8 | ONE_MINUS_SOURCE_ALPHA: "oneMinusSourceAlpha", 9 | ONE_MINUS_SOURCE_COLOR: "oneMinusSourceColor", 10 | SOURCE_ALPHA: "sourceAlpha", 11 | SOURCE_COLOR: "sourceColor", 12 | ZERO: "zero" 13 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DBufferUsage.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DYNAMIC_DRAW: "dynamicDraw", 4 | STATIC_DRAW: "staticDraw" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DClearMask.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ALL: 0x07, 4 | COLOR: 0x01, 5 | DEPTH: 0x02, 6 | STENCIL: 0x04 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DCompareMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ALWAYS: "always", 4 | EQUAL: "equal", 5 | GREATER: "greater", 6 | GREATER_EQUAL: "greaterEqual", 7 | LESS: "less", 8 | LESS_EQUAL: "lessEqual", 9 | NEVER: "never", 10 | NOT_EQUAL: "notEqual" 11 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DMipFilter.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | MIPLINEAR: "miplinear", 4 | MIPNEAREST: "mipnearest", 5 | MIPNONE: "mipnone" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DProfile.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BASELINE: "baseline", 4 | BASELINE_CONSTRAINED: "baselineConstrained", 5 | BASELINE_EXTENDED: "baselineExtended", 6 | STANDARD: "standard", 7 | STANDARD_CONSTRAINED: "standardConstrained", 8 | STANDARD_EXTENDED: "standardExtended" 9 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DProgramType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | FRAGMENT: "fragment", 4 | VERTEX: "vertex" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DRenderMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | AUTO: "auto", 4 | SOFTWARE: "software" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DStencilAction.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DECREMENT_SATURATE: "decrementSaturate", 4 | DECREMENT_WRAP: "decrementWrap", 5 | INCREMENT_SATURATE: "incrementSaturate", 6 | INCREMENT_WRAP: "incrementWrap", 7 | INVERT: "invert", 8 | KEEP: "keep", 9 | SET: "set", 10 | ZERO: "zero" 11 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DTextureFilter.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ANISOTROPIC16X: "anisotropic16x", 4 | ANISOTROPIC2X: "anisotropic2x", 5 | ANISOTROPIC4X: "anisotropic4x", 6 | ANISOTROPIC8X: "anisotropic8x", 7 | LINEAR: "linear", 8 | NEAREST: "nearest" 9 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DTextureFormat.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BGR_PACKED: "bgrPacked565", 4 | BGRA: "bgra", 5 | BGRA_PACKED: "bgraPacked4444", 6 | COMPRESSED: "compressed", 7 | COMPRESSED_ALPHA: "compressedAlpha", 8 | RGBA_HALF_FLOAT: "rgbaHalfFloat" 9 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DTriangleFace.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BACK: "back", 4 | FRONT: "front", 5 | FRONT_AND_BACK: "frontAndBack", 6 | NONE: "none" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DVertexBufferFormat.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BYTES_4: "bytes4", 4 | FLOAT_1: "float1", 5 | FLOAT_2: "float2", 6 | FLOAT_3: "float3", 7 | FLOAT_4: "float4" 8 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Context3DWrapMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | CLAMP: "clamp", 4 | CLAMP_U_REPEAT_V: "clamp_u_repeat_y", 5 | REPEAT: "repeat", 6 | REPEAT_U_CLAMP_V: "repeat_u_clamp_y" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/IndexBuffer3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display3D/IndexBuffer3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/Program3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display3D/Program3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/VertexBuffer3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/display3D/VertexBuffer3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/textures/CubeTexture.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../../_gen/openfl/display3D/textures/CubeTexture"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/textures/RectangleTexture.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../../_gen/openfl/display3D/textures/RectangleTexture"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/textures/Texture.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../../_gen/openfl/display3D/textures/Texture"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/textures/TextureBase.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../../_gen/openfl/display3D/textures/TextureBase"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/textures/VideoTexture.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../../_gen/openfl/display3D/textures/VideoTexture"; -------------------------------------------------------------------------------- /lib-esm/openfl/display3D/textures/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as CubeTexture } from "./CubeTexture"; 3 | export { default as RectangleTexture } from "./RectangleTexture"; 4 | export { default as Texture } from "./Texture"; 5 | export { default as TextureBase } from "./TextureBase"; 6 | export { default as VideoTexture } from "./VideoTexture"; 7 | -------------------------------------------------------------------------------- /lib-esm/openfl/errors/ArgumentError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/ArgumentError"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/EOFError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/EOFError"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/Error.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/Error"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/IOError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/IOError"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/IllegalOperationError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/IllegalOperationError"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/RangeError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/RangeError"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/SecurityError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/SecurityError"; -------------------------------------------------------------------------------- /lib-esm/openfl/errors/TypeError.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/errors/TypeError"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/AccelerometerEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/AccelerometerEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/ActivityEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/ActivityEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/AsyncErrorEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/AsyncErrorEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/DataEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/DataEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/ErrorEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/ErrorEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/Event.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/Event"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/EventDispatcher.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/EventDispatcher"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/EventPhase.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | AT_TARGET: 2, 4 | BUBBLING_PHASE: 3, 5 | CAPTURING_PHASE: 1 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/events/FocusEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/FocusEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/FullScreenEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/FullScreenEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/GameInputEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/GameInputEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/HTTPStatusEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/HTTPStatusEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/IEventDispatcher.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/IEventDispatcher"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/IOErrorEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/IOErrorEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/KeyboardEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/KeyboardEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/MouseEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/MouseEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/NetStatusEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/NetStatusEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/ProgressEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/ProgressEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/RenderEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/RenderEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/SampleDataEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/SampleDataEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/SecurityErrorEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/SecurityErrorEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/TextEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/TextEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/TimerEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/TimerEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/TouchEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/TouchEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/UncaughtErrorEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/UncaughtErrorEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/UncaughtErrorEvents.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/UncaughtErrorEvents"; -------------------------------------------------------------------------------- /lib-esm/openfl/events/VideoTextureEvent.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/events/VideoTextureEvent"; -------------------------------------------------------------------------------- /lib-esm/openfl/external/ExternalInterface.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/external/ExternalInterface"; -------------------------------------------------------------------------------- /lib-esm/openfl/external/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as ExternalInterface } from "./ExternalInterface"; 3 | -------------------------------------------------------------------------------- /lib-esm/openfl/filters/BitmapFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/BitmapFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/BitmapFilterQuality.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | HIGH: 3, 4 | MEDIUM: 2, 5 | LOW: 1 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/BitmapFilterShader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/BitmapFilterShader"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/BitmapFilterType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | FULL: "full", 4 | INNER: "inner", 5 | OUTER: "outer" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/BlurFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/BlurFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/ColorMatrixFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/ColorMatrixFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/ConvolutionFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/ConvolutionFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/DropShadowFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/DropShadowFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/GlowFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/GlowFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/filters/ShaderFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/filters/ShaderFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/ColorTransform.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/ColorTransform"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Matrix.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Matrix"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Matrix3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Matrix3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Orientation3D.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | AXIS_ANGLE: "axisAngle", 4 | EULER_ANGLES: "eulerAngles", 5 | QUATERNION: "quaternion" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/PerspectiveProjection.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/PerspectiveProjection"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Point.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Point"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Rectangle.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Rectangle"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Transform.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Transform"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Utils3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Utils3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/geom/Vector3D.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/geom/Vector3D"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/ID3Info.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/ID3Info"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/Sound.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/Sound"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/SoundChannel.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/SoundChannel"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/SoundLoaderContext.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/SoundLoaderContext"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/SoundMixer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/SoundMixer"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/SoundTransform.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/SoundTransform"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/Video.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/media/Video"; -------------------------------------------------------------------------------- /lib-esm/openfl/media/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as ID3Info } from "./ID3Info"; 3 | export { default as Sound } from "./Sound"; 4 | export { default as SoundChannel } from "./SoundChannel"; 5 | export { default as SoundLoaderContext } from "./SoundLoaderContext"; 6 | export { default as SoundMixer } from "./SoundMixer"; 7 | export { default as SoundTransform } from "./SoundTransform"; 8 | export { default as Video } from "./Video"; 9 | -------------------------------------------------------------------------------- /lib-esm/openfl/net/FileFilter.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/FileFilter"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/FileReference.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/FileReference"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/FileReferenceList.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/FileReferenceList"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/NetConnection.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/NetConnection"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/NetStream.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/NetStream"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/ObjectEncoding.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | AMF0: 0, 4 | AMF3: 3, 5 | HXSF: 10, 6 | JSON: 12, 7 | DEFAULT: 10 8 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/net/SharedObject.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/SharedObject"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/SharedObjectFlushStatus.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | FLUSHED: "flushed", 4 | PENDING: "pending" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/net/Socket.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/Socket"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLLoader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/URLLoader"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLLoaderDataFormat.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BINARY: "binary", 4 | TEXT: "text", 5 | VARIABLES: "variables" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLRequest.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/URLRequest"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLRequestDefaults.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/URLRequestDefaults"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLRequestHeader.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/URLRequestHeader"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLRequestMethod.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DELETE: "DELETE", 4 | GET: "GET", 5 | HEAD: "HEAD", 6 | OPTIONS: "OPTIONS", 7 | POST: "POST", 8 | PUT: "PUT" 9 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLStream.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/URLStream"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/URLVariables.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/URLVariables"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/XMLSocket.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/net/XMLSocket"; -------------------------------------------------------------------------------- /lib-esm/openfl/net/navigateToURL.js: -------------------------------------------------------------------------------- 1 | import { default as Lib } from "./../../_gen/openfl/Lib"; 2 | export default Lib.navigateToURL; -------------------------------------------------------------------------------- /lib-esm/openfl/net/sendToURL.js: -------------------------------------------------------------------------------- 1 | import { default as Lib } from "./../../_gen/openfl/Lib"; 2 | export default Lib.sendToURL; -------------------------------------------------------------------------------- /lib-esm/openfl/printing/PrintJob.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/printing/PrintJob"; -------------------------------------------------------------------------------- /lib-esm/openfl/printing/PrintJobOptions.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/printing/PrintJobOptions"; -------------------------------------------------------------------------------- /lib-esm/openfl/printing/PrintJobOrientation.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | LANDSCAPE: "landscape", 4 | PORTRAIT: "portrait" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/printing/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as PrintJob } from "./PrintJob"; 3 | export { default as PrintJobOptions } from "./PrintJobOptions"; 4 | export { default as PrintJobOrientation } from "./PrintJobOrientation"; 5 | -------------------------------------------------------------------------------- /lib-esm/openfl/profiler/Telemetry.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/profiler/Telemetry"; -------------------------------------------------------------------------------- /lib-esm/openfl/profiler/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as Telemetry } from "./Telemetry"; 3 | -------------------------------------------------------------------------------- /lib-esm/openfl/sensors/Accelerometer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/sensors/Accelerometer"; -------------------------------------------------------------------------------- /lib-esm/openfl/sensors/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as Accelerometer } from "./Accelerometer"; 3 | -------------------------------------------------------------------------------- /lib-esm/openfl/system/ApplicationDomain.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/system/ApplicationDomain"; -------------------------------------------------------------------------------- /lib-esm/openfl/system/Capabilities.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/system/Capabilities"; -------------------------------------------------------------------------------- /lib-esm/openfl/system/LoaderContext.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/system/LoaderContext"; -------------------------------------------------------------------------------- /lib-esm/openfl/system/Security.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/system/Security"; -------------------------------------------------------------------------------- /lib-esm/openfl/system/SecurityDomain.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/system/SecurityDomain"; -------------------------------------------------------------------------------- /lib-esm/openfl/system/System.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/system/System"; -------------------------------------------------------------------------------- /lib-esm/openfl/system/TouchscreenType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | FINGER: "finger", 4 | NONE: "none", 5 | STYLUS: "stylus" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/system/index.js: -------------------------------------------------------------------------------- 1 | 2 | export { default as ApplicationDomain } from "./ApplicationDomain"; 3 | export { default as Capabilities } from "./Capabilities"; 4 | export { default as LoaderContext } from "./LoaderContext"; 5 | export { default as Security } from "./Security"; 6 | export { default as SecurityDomain } from "./SecurityDomain"; 7 | export { default as System } from "./System"; 8 | export { default as TouchscreenType } from "./TouchscreenType"; 9 | -------------------------------------------------------------------------------- /lib-esm/openfl/text/AntiAliasType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ADVANCED: "advanced", 4 | NORMAL: "normal" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/Font.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/text/Font"; -------------------------------------------------------------------------------- /lib-esm/openfl/text/FontStyle.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BOLD: "bold", 4 | BOLD_ITALIC: "boldItalic", 5 | ITALIC: "italic", 6 | REGULAR: "regular" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/FontType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DEVICE: "device", 4 | EMBEDDED: "embedded", 5 | EMBEDDED_CFF: "embeddedCFF" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/GridFitType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | NONE: "none", 4 | PIXEL: "pixel", 5 | SUBPIXEL: "subpixel" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/StaticText.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/text/StaticText"; -------------------------------------------------------------------------------- /lib-esm/openfl/text/TextField.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/text/TextField"; -------------------------------------------------------------------------------- /lib-esm/openfl/text/TextFieldAutoSize.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | CENTER: "center", 4 | LEFT: "left", 5 | NONE: "none", 6 | RIGHT: "right" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/TextFieldType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DYNAMIC: "dynamic", 4 | INPUT: "input" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/TextFormat.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/text/TextFormat"; -------------------------------------------------------------------------------- /lib-esm/openfl/text/TextFormatAlign.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | CENTER: "center", 4 | END: "end", 5 | JUSTIFY: "justify", 6 | LEFT: "left", 7 | RIGHT: "right", 8 | START: "start" 9 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/text/TextLineMetrics.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/text/TextLineMetrics"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/GameInput.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/ui/GameInput"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/GameInputControl.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/ui/GameInputControl"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/GameInputDevice.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/ui/GameInputDevice"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/KeyLocation.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | LEFT: 1, 4 | NUM_PAD: 3, 5 | RIGHT: 2, 6 | STANDARD: 0 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/Keyboard.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/ui/Keyboard"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/Mouse.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/ui/Mouse"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/MouseCursor.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | ARROW: "arrow", 4 | AUTO: "auto", 5 | BUTTON: "button", 6 | HAND: "hand", 7 | IBEAM: "ibeam" 8 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/Multitouch.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/ui/Multitouch"; -------------------------------------------------------------------------------- /lib-esm/openfl/ui/MultitouchInputMode.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | GESTURE: "gesture", 4 | NONE: "none", 5 | TOUCH_POINT: "touchPoint" 6 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/AGALMiniAssembler.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/AGALMiniAssembler"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/AssetCache.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/AssetCache"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/AssetManifest.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/AssetManifest"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/AssetType.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BINARY: "BINARY", 4 | FONT: "FONT", 5 | IMAGE: "IMAGE", 6 | MOVIE_CLIP: "MOVIE_CLIP", 7 | MUSIC: "MUSIC", 8 | SOUND: "SOUND", 9 | TEMPLATE: "TEMPLATE", 10 | TEXT: "TEXT" 11 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/Assets.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/Assets"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/ByteArray.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/ByteArrayData"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/CompressionAlgorithm.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | DEFLATE: "deflate", 4 | //GZIP; 5 | LZMA: "lzma", 6 | ZLIB: "zlib" 7 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/Dictionary.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/_Dictionary/DictionaryData"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/Endian.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | BIG_ENDIAN: "bigEndian", 4 | LITTLE_ENDIAN: "littleEndian" 5 | }; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/Future.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/lime/app/Future"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/IAssetCache.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/IAssetCache"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/IDataInput.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/IDataInput"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/IDataOutput.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/IDataOutput"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/IExternalizable.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/IExternablizable"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/Timer.js: -------------------------------------------------------------------------------- 1 | export { default } from "./../../_gen/openfl/utils/Timer"; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/clearTimeout.js: -------------------------------------------------------------------------------- 1 | 2 | export default clearTimeout; 3 | -------------------------------------------------------------------------------- /lib-esm/openfl/utils/getDefinitionByName.js: -------------------------------------------------------------------------------- 1 | import { default as Lib } from "./../../_gen/openfl/Lib"; 2 | export default Lib.getDefinitionByName; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/getQualifiedClassName.js: -------------------------------------------------------------------------------- 1 | import { default as Lib } from "./../../_gen/openfl/Lib"; 2 | export default Lib.getQualifiedClassName; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/getQualifiedSuperclassName.js: -------------------------------------------------------------------------------- 1 | import { default as Lib } from "./../../_gen/openfl/Lib"; 2 | export default Lib.getQualifiedSuperclassName; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/getTimer.js: -------------------------------------------------------------------------------- 1 | import { default as Lib } from "./../../_gen/openfl/Lib"; 2 | export default Lib.getTimer; -------------------------------------------------------------------------------- /lib-esm/openfl/utils/setTimeout.js: -------------------------------------------------------------------------------- 1 | 2 | export default setTimeout; -------------------------------------------------------------------------------- /lib/openfl/Assets.hx: -------------------------------------------------------------------------------- 1 | package openfl; 2 | 3 | typedef Assets = openfl.utils.Assets; 4 | -------------------------------------------------------------------------------- /lib/openfl/Lib.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../_gen/openfl/Lib"); -------------------------------------------------------------------------------- /lib/openfl/Memory.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../_gen/openfl/Memory"); -------------------------------------------------------------------------------- /lib/openfl/Vector.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../_gen/openfl/VectorData"); -------------------------------------------------------------------------------- /lib/openfl/_Vector/VectorIterator.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/_Vector/VectorIterator"); -------------------------------------------------------------------------------- /lib/openfl/_Vector/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | VectorIterator: require("./VectorIterator").default, 3 | } -------------------------------------------------------------------------------- /lib/openfl/desktop/Clipboard.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/desktop/Clipboard"); -------------------------------------------------------------------------------- /lib/openfl/desktop/ClipboardFormats.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.ClipboardFormats = module.exports.default = { 3 | HTML_FORMAT: "air:html", 4 | RICH_TEXT_FORMAT: "air:rtf", 5 | TEXT_FORMAT: "air:text" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/desktop/ClipboardTransferMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.ClipboardTransferMode = module.exports.default = { 3 | CLONE_ONLY: "cloneOnly", 4 | CLONE_PREFERRED: "clonePreferred", 5 | ORIGINAL_ONLY: "originalOnly", 6 | ORIGINAL_PREFERRED: "originalPreferred" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/desktop/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as Clipboard } from "./Clipboard"; 3 | export { default as ClipboardFormats } from "./ClipboardFormats"; 4 | export { default as ClipboardTransferMode } from "./ClipboardTransferMode"; 5 | -------------------------------------------------------------------------------- /lib/openfl/desktop/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | Clipboard: require("./Clipboard").default, 3 | ClipboardFormats: require("./ClipboardFormats").default, 4 | ClipboardTransferMode: require("./ClipboardTransferMode").default 5 | } -------------------------------------------------------------------------------- /lib/openfl/display/Bitmap.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Bitmap"); -------------------------------------------------------------------------------- /lib/openfl/display/BitmapData.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/BitmapData"); -------------------------------------------------------------------------------- /lib/openfl/display/BitmapDataChannel.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }), 2 | module.exports.BitmapDataChannel = module.exports.default = { 3 | ALPHA: 8, 4 | BLUE: 4, 5 | GREEN: 2, 6 | RED: 1 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display/CanvasRenderer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/CanvasRenderer"); -------------------------------------------------------------------------------- /lib/openfl/display/CapsStyle.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.CapsStyle = module.exports.default = { 3 | NONE: "none", 4 | ROUND: "round", 5 | SQUARE: "square" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display/DOMElement.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | @:jsRequire("openfl/display/DOMElement", "default") 4 | extern class DOMElement extends DisplayObject 5 | { 6 | public function new(element:Dynamic); 7 | } 8 | -------------------------------------------------------------------------------- /lib/openfl/display/DOMElement.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/DOMElement"); -------------------------------------------------------------------------------- /lib/openfl/display/DOMRenderer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/DOMRenderer"); -------------------------------------------------------------------------------- /lib/openfl/display/DisplayObject.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/DisplayObject"); -------------------------------------------------------------------------------- /lib/openfl/display/DisplayObjectContainer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/DisplayObjectContainer"); -------------------------------------------------------------------------------- /lib/openfl/display/DisplayObjectRenderer.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | import openfl.events.EventDispatcher; 4 | 5 | @:jsRequire("openfl/display/DisplayObjectRenderer", "default") 6 | extern class DisplayObjectRenderer extends EventDispatcher {} 7 | -------------------------------------------------------------------------------- /lib/openfl/display/DisplayObjectRenderer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/DisplayObjectRenderer"); -------------------------------------------------------------------------------- /lib/openfl/display/DisplayObjectShader.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | import openfl.utils.ByteArray; 4 | 5 | @:jsRequire("openfl/display/DisplayObjectShader", "default") 6 | extern class DisplayObjectShader extends Shader 7 | { 8 | public function new(code:ByteArray = null); 9 | } 10 | -------------------------------------------------------------------------------- /lib/openfl/display/DisplayObjectShader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/DisplayObjectShader"); -------------------------------------------------------------------------------- /lib/openfl/display/FPS.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/FPS"); -------------------------------------------------------------------------------- /lib/openfl/display/FrameLabel.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/FrameLabel"); -------------------------------------------------------------------------------- /lib/openfl/display/GradientType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.GradientType = module.exports.default = { 3 | LINEAR: "linear", 4 | RADIAL: "radial" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display/Graphics.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Graphics"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsBitmapFill.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsBitmapFill"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsEndFill.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsEndFill"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsGradientFill.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsGradientFill"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsPath.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsPath"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsPathCommand.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.GraphicsPathCommand = module.exports.default = { 3 | CUBIC_CURVE_TO: 6, 4 | CURVE_TO: 3, 5 | LINE_TO: 2, 6 | MOVE_TO: 1, 7 | NO_OP: 0, 8 | WIDE_LINE_TO: 5, 9 | WIDE_MOVE_TO: 4 10 | }; -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsPathWinding.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.GraphicsPathWinding = module.exports.default = { 3 | EVEN_ODD: "evenOdd", 4 | NON_ZERO: "nonZero" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsQuadPath.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsQuadPath"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsShader.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | import openfl.utils.ByteArray; 4 | 5 | @:jsRequire("openfl/display/GraphicsShader", "default") 6 | extern class GraphicsShader extends Shader 7 | { 8 | public var bitmap:ShaderInput; 9 | public function new(code:ByteArray = null):Void; 10 | } 11 | -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsShader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsShader"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsShaderFill.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsShaderFill"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsSolidFill.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsSolidFill"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsStroke.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsStroke"); -------------------------------------------------------------------------------- /lib/openfl/display/GraphicsTrianglePath.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/GraphicsTrianglePath"); -------------------------------------------------------------------------------- /lib/openfl/display/IBitmapDrawable.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | @:jsRequire("openfl/display/IBitmapDrawable", "default") 4 | #if flash 5 | @:native("flash.display.IBitmapDrawable") 6 | #end 7 | extern interface IBitmapDrawable {} 8 | -------------------------------------------------------------------------------- /lib/openfl/display/IBitmapDrawable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/IBitmapDrawable"); -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsData.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | @:jsRequire("openfl/display/IGraphicsData", "default") 4 | #if flash 5 | @:native("flash.display.IGraphicsData") 6 | #end 7 | extern interface IGraphicsData {} 8 | -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsData.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/IGraphicsData"); -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsFill.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | @:jsRequire("openfl/display/IGraphicsFill", "default") 4 | #if flash 5 | @:native("flash.display.IGraphicsFill") 6 | #end 7 | extern interface IGraphicsFill {} 8 | -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsFill.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/IGraphicsFill"); -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsPath.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | @:jsRequire("openfl/display/IGraphicsPath", "default") 4 | #if flash 5 | @:native("flash.display.IGraphicsPath") 6 | #end 7 | extern interface IGraphicsPath {} 8 | -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsPath.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/IGraphicsPath"); -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsStroke.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | @:jsRequire("openfl/display/IGraphicsStroke", "default") 4 | #if flash 5 | @:native("flash.display.IGraphicsStroke") 6 | #end 7 | extern interface IGraphicsStroke {} 8 | -------------------------------------------------------------------------------- /lib/openfl/display/IGraphicsStroke.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/IGraphicsStroke"); -------------------------------------------------------------------------------- /lib/openfl/display/ITileContainer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/ITileContainer"); -------------------------------------------------------------------------------- /lib/openfl/display/InteractiveObject.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/InteractiveObject"); -------------------------------------------------------------------------------- /lib/openfl/display/InterpolationMethod.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.InterpolationMethod = module.exports.default = { 3 | LINEAR_RGB: "linearRGB", 4 | RGB: "rgb" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display/JPEGEncoderOptions.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/JPEGEncoderOptions"); -------------------------------------------------------------------------------- /lib/openfl/display/JointStyle.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.JointStyle = module.exports.default = { 3 | BEVEL: "bevel", 4 | MITER: "miter", 5 | ROUND: "round" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display/LineScaleMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.LineScaleMode = module.exports.default = { 3 | HORIZONTAL: "horizontal", 4 | NONE: "none", 5 | NORMAL: "normal", 6 | VERTICAL: "vertical" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display/Loader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Loader"); -------------------------------------------------------------------------------- /lib/openfl/display/LoaderInfo.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/LoaderInfo"); -------------------------------------------------------------------------------- /lib/openfl/display/MovieClip.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/MovieClip"); -------------------------------------------------------------------------------- /lib/openfl/display/OpenGLRenderer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/OpenGLRenderer"); -------------------------------------------------------------------------------- /lib/openfl/display/PNGEncoderOptions.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/PNGEncoderOptions"); -------------------------------------------------------------------------------- /lib/openfl/display/PixelSnapping.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.PixelSnapping = module.exports.default = { 3 | ALWAYS: "always", 4 | AUTO: "auto", 5 | NEVER: "never" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display/Preloader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Preloader"); -------------------------------------------------------------------------------- /lib/openfl/display/Shader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Shader"); -------------------------------------------------------------------------------- /lib/openfl/display/ShaderData.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | #if (display || !flash) 4 | import openfl.utils.ByteArray; 5 | 6 | @:jsRequire("openfl/display/ShaderData", "default") 7 | @:final extern class ShaderData implements Dynamic 8 | { 9 | public function new(byteArray:ByteArray):Void; 10 | } 11 | #else 12 | typedef ShaderData = flash.display.ShaderData; 13 | #end 14 | -------------------------------------------------------------------------------- /lib/openfl/display/ShaderData.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/_ShaderData/ShaderData_Impl_"); -------------------------------------------------------------------------------- /lib/openfl/display/ShaderInput.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/ShaderInput"); -------------------------------------------------------------------------------- /lib/openfl/display/ShaderJob.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/ShaderJob"); -------------------------------------------------------------------------------- /lib/openfl/display/ShaderParameter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/ShaderParameter"); -------------------------------------------------------------------------------- /lib/openfl/display/ShaderPrecision.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract ShaderPrecision(String) from String to String 4 | { 5 | public var FAST = "fast"; 6 | public var FULL = "full"; 7 | } 8 | -------------------------------------------------------------------------------- /lib/openfl/display/ShaderPrecision.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.ClipboardFormats = module.exports.default = { 3 | FAST: "fast", 4 | FULL: "full" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display/Shape.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Shape"); -------------------------------------------------------------------------------- /lib/openfl/display/SimpleButton.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/SimpleButton"); -------------------------------------------------------------------------------- /lib/openfl/display/SpreadMethod.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.SpreadMethod = module.exports.default = { 3 | PAD: "pad", 4 | REFLECT: "reflect", 5 | REPEAT: "repeat" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display/Sprite.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Sprite"); -------------------------------------------------------------------------------- /lib/openfl/display/Stage.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Stage"); -------------------------------------------------------------------------------- /lib/openfl/display/Stage3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Stage3D"); -------------------------------------------------------------------------------- /lib/openfl/display/StageAlign.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.StageAlign = module.exports.default = { 3 | BOTTOM: "bottom", 4 | BOTTOM_LEFT: "bottomLeft", 5 | BOTTOM_RIGHT: "bottomRight", 6 | LEFT: "left", 7 | RIGHT: "right", 8 | TOP: "top", 9 | TOP_LEFT: "topLeft", 10 | TOP_RIGHT: "topRight", 11 | }; -------------------------------------------------------------------------------- /lib/openfl/display/StageDisplayState.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.StageDisplayState = module.exports.default = { 3 | FULL_SCREEN: "fullScreen", 4 | FULL_SCREEN_INTERACTIVE: "fullScreenInteractive", 5 | NORMAL: "normal" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display/StageQuality.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.StageQuality = module.exports.default = { 3 | BEST: "best", 4 | HIGH: "high", 5 | LOW: "low", 6 | MEDIUM: "medium" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display/StageScaleMode.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | /** 4 | * The StageScaleMode class provides values for the 5 | * `Stage.scaleMode` property. 6 | */ 7 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract StageScaleMode(String) from String to String 8 | { 9 | public var EXACT_FIT = "exactFit"; 10 | public var NO_BORDER = "noBorder"; 11 | public var NO_SCALE = "noScale"; 12 | public var SHOW_ALL = "showAll"; 13 | } 14 | -------------------------------------------------------------------------------- /lib/openfl/display/StageScaleMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.StageScaleMode = module.exports.default = { 3 | EXACT_FIT: "exactFit", 4 | NO_BORDER: "noBorder", 5 | NO_SCALE: "noScale", 6 | SHOW_ALL: "showAll" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display/Tile.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Tile"); -------------------------------------------------------------------------------- /lib/openfl/display/TileContainer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/TileContainer"); -------------------------------------------------------------------------------- /lib/openfl/display/Tilemap.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Tilemap"); -------------------------------------------------------------------------------- /lib/openfl/display/Tileset.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display/Tileset"); -------------------------------------------------------------------------------- /lib/openfl/display/TriangleCulling.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.TriangleCulling = module.exports.default = { 3 | NEGATIVE: "negative", 4 | NONE: "none", 5 | POSITIVE: "positive" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display3D/Context3D"); -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DBufferUsage.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DBufferUsage(String) from String to String 4 | { 5 | public var DYNAMIC_DRAW = "dynamicDraw"; 6 | public var STATIC_DRAW = "staticDraw"; 7 | } 8 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DBufferUsage.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DBufferUsage = module.exports.default = { 3 | DYNAMIC_DRAW: "dynamicDraw", 4 | STATIC_DRAW: "staticDraw" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DClearMask.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DClearMask(UInt) from UInt to UInt from Int to Int 4 | { 5 | public var ALL = 0x07; 6 | public var COLOR = 0x01; 7 | public var DEPTH = 0x02; 8 | public var STENCIL = 0x04; 9 | } 10 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DClearMask.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DClearMask = module.exports.default = { 3 | ALL: 0x07, 4 | COLOR: 0x01, 5 | DEPTH: 0x02, 6 | STENCIL: 0x04 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DCompareMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DCompareMode = module.exports.default = { 3 | ALWAYS: "always", 4 | EQUAL: "equal", 5 | GREATER: "greater", 6 | GREATER_EQUAL: "greaterEqual", 7 | LESS: "less", 8 | LESS_EQUAL: "lessEqual", 9 | NEVER: "never", 10 | NOT_EQUAL: "notEqual" 11 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DMipFilter.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DMipFilter(String) from String to String 4 | { 5 | public var MIPLINEAR = "miplinear"; 6 | public var MIPNEAREST = "mipnearest"; 7 | public var MIPNONE = "mipnone"; 8 | } 9 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DMipFilter.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DMipFilter = module.exports.default = { 3 | MIPLINEAR: "miplinear", 4 | MIPNEAREST: "mipnearest", 5 | MIPNONE: "mipnone" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DProfile.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DProfile = module.exports.default = { 3 | BASELINE: "baseline", 4 | BASELINE_CONSTRAINED: "baselineConstrained", 5 | BASELINE_EXTENDED: "baselineExtended", 6 | STANDARD: "standard", 7 | STANDARD_CONSTRAINED: "standardConstrained", 8 | STANDARD_EXTENDED: "standardExtended" 9 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DProgramType.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DProgramType(String) from String to String 4 | { 5 | public var FRAGMENT = "fragment"; 6 | public var VERTEX = "vertex"; 7 | } 8 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DProgramType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DProgramType = module.exports.default = { 3 | FRAGMENT: "fragment", 4 | VERTEX: "vertex" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DRenderMode.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DRenderMode(String) from String to String 4 | { 5 | public var AUTO = "auto"; 6 | public var SOFTWARE = "software"; 7 | } 8 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DRenderMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DRenderMode = module.exports.default = { 3 | AUTO: "auto", 4 | SOFTWARE: "software" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DStencilAction.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DStencilAction = module.exports.default = { 3 | DECREMENT_SATURATE: "decrementSaturate", 4 | DECREMENT_WRAP: "decrementWrap", 5 | INCREMENT_SATURATE: "incrementSaturate", 6 | INCREMENT_WRAP: "incrementWrap", 7 | INVERT: "invert", 8 | KEEP: "keep", 9 | SET: "set", 10 | ZERO: "zero" 11 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DTextureFilter.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DTextureFilter(String) from String to String 4 | { 5 | public var ANISOTROPIC16X = "anisotropic16x"; 6 | public var ANISOTROPIC2X = "anisotropic2x"; 7 | public var ANISOTROPIC4X = "anisotropic4x"; 8 | public var ANISOTROPIC8X = "anisotropic8x"; 9 | public var LINEAR = "linear"; 10 | public var NEAREST = "nearest"; 11 | } 12 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DTextureFilter.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DTextureFilter = module.exports.default = { 3 | ANISOTROPIC16X: "anisotropic16x", 4 | ANISOTROPIC2X: "anisotropic2x", 5 | ANISOTROPIC4X: "anisotropic4x", 6 | ANISOTROPIC8X: "anisotropic8x", 7 | LINEAR: "linear", 8 | NEAREST: "nearest" 9 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DTextureFormat.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DTextureFormat(String) from String to String 4 | { 5 | public var BGR_PACKED = "bgrPacked565"; 6 | public var BGRA = "bgra"; 7 | public var BGRA_PACKED = "bgraPacked4444"; 8 | public var COMPRESSED = "compressed"; 9 | public var COMPRESSED_ALPHA = "compressedAlpha"; 10 | public var RGBA_HALF_FLOAT = "rgbaHalfFloat"; 11 | } 12 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DTextureFormat.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DTextureFormat = module.exports.default = { 3 | BGR_PACKED: "bgrPacked565", 4 | BGRA: "bgra", 5 | BGRA_PACKED: "bgraPacked4444", 6 | COMPRESSED: "compressed", 7 | COMPRESSED_ALPHA: "compressedAlpha", 8 | RGBA_HALF_FLOAT: "rgbaHalfFloat" 9 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DTriangleFace.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DTriangleFace(String) from String to String 4 | { 5 | public var BACK = "back"; 6 | public var FRONT = "front"; 7 | public var FRONT_AND_BACK = "frontAndBack"; 8 | public var NONE = "none"; 9 | } 10 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DTriangleFace.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DTriangleFace = module.exports.default = { 3 | BACK: "back", 4 | FRONT: "front", 5 | FRONT_AND_BACK: "frontAndBack", 6 | NONE: "none" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DVertexBufferFormat.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DVertexBufferFormat(String) from String to String 4 | { 5 | public var BYTES_4 = "bytes4"; 6 | public var FLOAT_1 = "float1"; 7 | public var FLOAT_2 = "float2"; 8 | public var FLOAT_3 = "float3"; 9 | public var FLOAT_4 = "float4"; 10 | } 11 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DVertexBufferFormat.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DVertexBufferFormat = module.exports.default = { 3 | BYTES_4: "bytes4", 4 | FLOAT_1: "float1", 5 | FLOAT_2: "float2", 6 | FLOAT_3: "float3", 7 | FLOAT_4: "float4" 8 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DWrapMode.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract Context3DWrapMode(String) from String to String 4 | { 5 | public var CLAMP = "clamp"; 6 | public var CLAMP_U_REPEAT_V = "clamp_u_repeat_y"; 7 | public var REPEAT = "repeat"; 8 | public var REPEAT_U_CLAMP_V = "repeat_u_clamp_y"; 9 | } 10 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Context3DWrapMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Context3DWrapMode = module.exports.default = { 3 | CLAMP: "clamp", 4 | CLAMP_U_REPEAT_V: "clamp_u_repeat_y", 5 | REPEAT: "repeat", 6 | REPEAT_U_CLAMP_V: "repeat_u_clamp_y" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/display3D/IndexBuffer3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display3D/IndexBuffer3D"); -------------------------------------------------------------------------------- /lib/openfl/display3D/Program3D.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D; 2 | 3 | #if (display || !flash) 4 | import openfl.utils.ByteArray; 5 | 6 | @:jsRequire("openfl/display3D/Program3D", "default") 7 | @:final extern class Program3D 8 | { 9 | public function dispose():Void; 10 | public function upload(vertexProgram:ByteArray, fragmentProgram:ByteArray):Void; 11 | } 12 | #else 13 | typedef Program3D = flash.display3D.Program3D; 14 | #end 15 | -------------------------------------------------------------------------------- /lib/openfl/display3D/Program3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display3D/Program3D"); -------------------------------------------------------------------------------- /lib/openfl/display3D/VertexBuffer3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/display3D/VertexBuffer3D"); -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/CubeTexture.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../../_gen/openfl/display3D/textures/CubeTexture"); -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/RectangleTexture.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../../_gen/openfl/display3D/textures/RectangleTexture"); -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/Texture.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../../_gen/openfl/display3D/textures/Texture"); -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/TextureBase.hx: -------------------------------------------------------------------------------- 1 | package openfl.display3D.textures; 2 | 3 | #if (display || !flash) 4 | import openfl.events.EventDispatcher; 5 | 6 | @:jsRequire("openfl/display3D/textures/TextureBase", "default") 7 | extern class TextureBase extends EventDispatcher 8 | { 9 | public function dispose():Void; 10 | } 11 | #else 12 | typedef TextureBase = flash.display3D.textures.TextureBase; 13 | #end 14 | -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/TextureBase.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../../_gen/openfl/display3D/textures/TextureBase"); -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/VideoTexture.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../../_gen/openfl/display3D/textures/VideoTexture"); -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as CubeTexture } from "./CubeTexture"; 3 | export { default as RectangleTexture } from "./RectangleTexture"; 4 | export { default as Texture } from "./Texture"; 5 | export { default as TextureBase } from "./TextureBase"; 6 | export { default as VideoTexture } from "./VideoTexture"; 7 | -------------------------------------------------------------------------------- /lib/openfl/display3D/textures/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | CubeTexture: require("./CubeTexture").default, 3 | RectangleTexture: require("./RectangleTexture").default, 4 | Texture: require("./Texture").default, 5 | TextureBase: require("./TextureBase").default, 6 | VideoTexture: require("./VideoTexture").default, 7 | } -------------------------------------------------------------------------------- /lib/openfl/errors/ArgumentError.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | #if (display || !flash) 4 | @:jsRequire("openfl/errors/ArgumentError", "default") 5 | extern class ArgumentError extends Error 6 | { 7 | public function new(message:String = ""); 8 | } 9 | #else 10 | typedef ArgumentError = flash.errors.ArgumentError; 11 | #end 12 | -------------------------------------------------------------------------------- /lib/openfl/errors/ArgumentError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/ArgumentError"); -------------------------------------------------------------------------------- /lib/openfl/errors/EOFError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/EOFError"); -------------------------------------------------------------------------------- /lib/openfl/errors/Error.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/Error"); -------------------------------------------------------------------------------- /lib/openfl/errors/IOError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/IOError"); -------------------------------------------------------------------------------- /lib/openfl/errors/IllegalOperationError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/IllegalOperationError"); -------------------------------------------------------------------------------- /lib/openfl/errors/RangeError.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | #if (display || !flash) 4 | @:jsRequire("openfl/errors/RangeError", "default") 5 | extern class RangeError extends Error 6 | { 7 | public function new(message:String = ""); 8 | } 9 | #else 10 | typedef RangeError = flash.errors.RangeError; 11 | #end 12 | -------------------------------------------------------------------------------- /lib/openfl/errors/RangeError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/RangeError"); -------------------------------------------------------------------------------- /lib/openfl/errors/SecurityError.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | #if (display || !flash) 4 | @:jsRequire("openfl/errors/SecurityError", "default") 5 | extern class SecurityError extends Error 6 | { 7 | public function new(message:String = ""); 8 | } 9 | #else 10 | typedef SecurityError = flash.errors.SecurityError; 11 | #end 12 | -------------------------------------------------------------------------------- /lib/openfl/errors/SecurityError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/SecurityError"); -------------------------------------------------------------------------------- /lib/openfl/errors/TypeError.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | #if (display || !flash) 4 | @:jsRequire("openfl/errors/TypeError", "default") 5 | extern class TypeError extends Error 6 | { 7 | public function new(message:String = ""); 8 | } 9 | #else 10 | typedef TypeError = flash.errors.TypeError; 11 | #end 12 | -------------------------------------------------------------------------------- /lib/openfl/errors/TypeError.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/errors/TypeError"); -------------------------------------------------------------------------------- /lib/openfl/errors/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ArgumentError: require("./ArgumentError").default, 3 | EOFError: require("./EOFError").default, 4 | Error: require("./Error").default, 5 | IllegalOperationError: require("./IllegalOperationError").default, 6 | IOError: require("./IOError").default, 7 | RangeError: require("./RangeError").default, 8 | SecurityError: require("./SecurityError").default, 9 | TypeError: require("./TypeError").default, 10 | } -------------------------------------------------------------------------------- /lib/openfl/events/AccelerometerEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/AccelerometerEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/ActivityEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/ActivityEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/AsyncErrorEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/AsyncErrorEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/DataEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/DataEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/ErrorEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/ErrorEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/Event.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/Event"); -------------------------------------------------------------------------------- /lib/openfl/events/EventDispatcher.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/EventDispatcher"); -------------------------------------------------------------------------------- /lib/openfl/events/EventPhase.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.EventPhase = module.exports.default = { 3 | AT_TARGET: 2, 4 | BUBBLING_PHASE: 3, 5 | CAPTURING_PHASE: 1 6 | }; -------------------------------------------------------------------------------- /lib/openfl/events/FocusEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/FocusEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/FullScreenEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/FullScreenEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/GameInputEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/GameInputEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/HTTPStatusEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/HTTPStatusEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/IEventDispatcher.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/IEventDispatcher"); -------------------------------------------------------------------------------- /lib/openfl/events/IOErrorEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/IOErrorEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/KeyboardEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/KeyboardEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/MouseEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/MouseEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/NetStatusEvent.hx: -------------------------------------------------------------------------------- 1 | package openfl.events; 2 | 3 | #if (display || !flash) 4 | @:jsRequire("openfl/events/NetStatusEvent", "default") 5 | extern class NetStatusEvent extends Event 6 | { 7 | public static inline var NET_STATUS = "netStatus"; 8 | public var info:Dynamic; 9 | public function new(type:String, bubbles:Bool = false, cancelable:Bool = false, info:Dynamic = null); 10 | } 11 | #else 12 | typedef NetStatusEvent = flash.events.NetStatusEvent; 13 | #end 14 | -------------------------------------------------------------------------------- /lib/openfl/events/NetStatusEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/NetStatusEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/ProgressEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/ProgressEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/RenderEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/RenderEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/SampleDataEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/SampleDataEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/SecurityErrorEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/SecurityErrorEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/TextEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/TextEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/TimerEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/TimerEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/TouchEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/TouchEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/UncaughtErrorEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/UncaughtErrorEvent"); -------------------------------------------------------------------------------- /lib/openfl/events/UncaughtErrorEvents.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/UncaughtErrorEvents"); -------------------------------------------------------------------------------- /lib/openfl/events/VideoTextureEvent.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/events/VideoTextureEvent"); -------------------------------------------------------------------------------- /lib/openfl/external/ExternalInterface.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/external/ExternalInterface"); -------------------------------------------------------------------------------- /lib/openfl/external/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as ExternalInterface } from "./ExternalInterface"; 3 | -------------------------------------------------------------------------------- /lib/openfl/external/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ExternalInterface: require("./ExternalInterface").default, 3 | } -------------------------------------------------------------------------------- /lib/openfl/filters/BitmapFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/BitmapFilter"); -------------------------------------------------------------------------------- /lib/openfl/filters/BitmapFilterQuality.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.BitmapFilterQuality = module.exports.default = { 3 | HIGH: 3, 4 | MEDIUM: 2, 5 | LOW: 1 6 | }; -------------------------------------------------------------------------------- /lib/openfl/filters/BitmapFilterShader.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | import openfl.display.Shader; 4 | import openfl.utils.ByteArray; 5 | 6 | @:jsRequire("openfl/filters/BitmapFilterShader", "default") 7 | extern class BitmapFilterShader extends Shader 8 | { 9 | public function new(code:ByteArray = null); 10 | } 11 | -------------------------------------------------------------------------------- /lib/openfl/filters/BitmapFilterShader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/BitmapFilterShader"); -------------------------------------------------------------------------------- /lib/openfl/filters/BitmapFilterType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.BitmapFilterType = module.exports.default = { 3 | FULL: "full", 4 | INNER: "inner", 5 | OUTER: "outer" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/filters/BlurFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/BlurFilter"); -------------------------------------------------------------------------------- /lib/openfl/filters/ColorMatrixFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/ColorMatrixFilter"); -------------------------------------------------------------------------------- /lib/openfl/filters/ConvolutionFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/ConvolutionFilter"); -------------------------------------------------------------------------------- /lib/openfl/filters/DropShadowFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/DropShadowFilter"); -------------------------------------------------------------------------------- /lib/openfl/filters/GlowFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/GlowFilter"); -------------------------------------------------------------------------------- /lib/openfl/filters/ShaderFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/filters/ShaderFilter"); -------------------------------------------------------------------------------- /lib/openfl/geom/ColorTransform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/ColorTransform"); -------------------------------------------------------------------------------- /lib/openfl/geom/Matrix.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Matrix"); -------------------------------------------------------------------------------- /lib/openfl/geom/Matrix3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Matrix3D"); -------------------------------------------------------------------------------- /lib/openfl/geom/Orientation3D.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Orientation3D = module.exports.default = { 3 | AXIS_ANGLE: "axisAngle", 4 | EULER_ANGLES: "eulerAngles", 5 | QUATERNION: "quaternion" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/geom/PerspectiveProjection.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/PerspectiveProjection"); -------------------------------------------------------------------------------- /lib/openfl/geom/Point.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Point"); -------------------------------------------------------------------------------- /lib/openfl/geom/Rectangle.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Rectangle"); -------------------------------------------------------------------------------- /lib/openfl/geom/Transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Transform"); -------------------------------------------------------------------------------- /lib/openfl/geom/Utils3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Utils3D"); -------------------------------------------------------------------------------- /lib/openfl/geom/Vector3D.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/geom/Vector3D"); -------------------------------------------------------------------------------- /lib/openfl/globalization/DateTimeFormatter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("../../_gen/openfl/globalization/DateTimeFormatter"); -------------------------------------------------------------------------------- /lib/openfl/globalization/DateTimeNameContext.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }), 2 | module.exports.DateTimeNameContext = module.exports.default = { 3 | FORMAT: "format", 4 | STANDALONE: "standalone", 5 | }; -------------------------------------------------------------------------------- /lib/openfl/globalization/DateTimeNameStyle.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }), 2 | module.exports.DateTimeNameStyle = module.exports.default = { 3 | FULL: "full", 4 | LONG_ABBREVIATION: "longAbbreviation", 5 | SHORT_ABBREVIATION: "shortAbbreviation", 6 | }; -------------------------------------------------------------------------------- /lib/openfl/globalization/DateTimeStyle.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }), 2 | module.exports.DateTimeStyle = module.exports.default = { 3 | CUSTOM: "custom", 4 | LONG: "long", 5 | MEDIUM: "medium", 6 | NONE: "none", 7 | SHORT: "short", 8 | }; -------------------------------------------------------------------------------- /lib/openfl/globalization/LocaleID.js: -------------------------------------------------------------------------------- 1 | module.exports = require("../../_gen/openfl/globalization/LocaleID"); -------------------------------------------------------------------------------- /lib/openfl/globalization/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | DateTimeFormatter: require("./DateTimeFormatter").default, 3 | DateTimeNameContext: require("./DateTimeNameContext").default, 4 | DateTimeNameStyle: require("./DateTimeNameStyle").default, 5 | DateTimeStyle: require("./DateTimeStyle").default, 6 | LastOperationStatus: require("./LastOperationStatus").default, 7 | LocaleID: require("./LocaleID").default, 8 | } -------------------------------------------------------------------------------- /lib/openfl/media/ID3Info.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/ID3Info"); -------------------------------------------------------------------------------- /lib/openfl/media/Sound.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/Sound"); -------------------------------------------------------------------------------- /lib/openfl/media/SoundChannel.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/SoundChannel"); -------------------------------------------------------------------------------- /lib/openfl/media/SoundLoaderContext.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/SoundLoaderContext"); -------------------------------------------------------------------------------- /lib/openfl/media/SoundMixer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/SoundMixer"); -------------------------------------------------------------------------------- /lib/openfl/media/SoundTransform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/SoundTransform"); -------------------------------------------------------------------------------- /lib/openfl/media/Video.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/media/Video"); -------------------------------------------------------------------------------- /lib/openfl/media/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as ID3Info } from "./ID3Info"; 3 | export { default as Sound } from "./Sound"; 4 | export { default as SoundChannel } from "./SoundChannel"; 5 | export { default as SoundLoaderContext } from "./SoundLoaderContext"; 6 | export { default as SoundMixer } from "./SoundMixer"; 7 | export { default as SoundTransform } from "./SoundTransform"; 8 | export { default as Video } from "./Video"; 9 | -------------------------------------------------------------------------------- /lib/openfl/media/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ID3Info: require("./ID3Info").default, 3 | Sound: require("./Sound").default, 4 | SoundChannel: require("./SoundChannel").default, 5 | SoundLoaderContext: require("./SoundLoaderContext").default, 6 | SoundMixer: require("./SoundMixer").default, 7 | SoundTransform: require("./SoundTransform").default, 8 | Video: require("./Video").default, 9 | } -------------------------------------------------------------------------------- /lib/openfl/net/FileFilter.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/FileFilter"); -------------------------------------------------------------------------------- /lib/openfl/net/FileReference.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/FileReference"); -------------------------------------------------------------------------------- /lib/openfl/net/FileReferenceList.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/FileReferenceList"); -------------------------------------------------------------------------------- /lib/openfl/net/NetConnection.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/NetConnection"); -------------------------------------------------------------------------------- /lib/openfl/net/NetStream.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/NetStream"); -------------------------------------------------------------------------------- /lib/openfl/net/ObjectEncoding.hx: -------------------------------------------------------------------------------- 1 | package openfl.net; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract ObjectEncoding(Int) from Int to Int from UInt to UInt 4 | { 5 | public var AMF0 = 0; 6 | public var AMF3 = 3; 7 | public var HXSF = 10; 8 | public var JSON = 12; 9 | #if flash 10 | public var DEFAULT = 3; 11 | #else 12 | public var DEFAULT = 10; 13 | #end 14 | } 15 | -------------------------------------------------------------------------------- /lib/openfl/net/ObjectEncoding.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }), 2 | module.exports.ObjectEncoding = module.exports.default = { 3 | AMF0: 0, 4 | AMF3: 3, 5 | HXSF: 10, 6 | JSON: 12, 7 | DEFAULT: 10 8 | }; -------------------------------------------------------------------------------- /lib/openfl/net/SharedObject.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/SharedObject"); -------------------------------------------------------------------------------- /lib/openfl/net/SharedObjectFlushStatus.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.SharedObjectFlushStatus = module.exports.default = { 3 | FLUSHED: "flushed", 4 | PENDING: "pending" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/net/Socket.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/Socket"); -------------------------------------------------------------------------------- /lib/openfl/net/URLLoader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/URLLoader"); -------------------------------------------------------------------------------- /lib/openfl/net/URLLoaderDataFormat.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.URLLoaderDataFormat = module.exports.default = { 3 | BINARY: "binary", 4 | TEXT: "text", 5 | VARIABLES: "variables" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/net/URLRequest.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/URLRequest"); -------------------------------------------------------------------------------- /lib/openfl/net/URLRequestDefaults.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/URLRequestDefaults"); -------------------------------------------------------------------------------- /lib/openfl/net/URLRequestHeader.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/URLRequestHeader"); -------------------------------------------------------------------------------- /lib/openfl/net/URLRequestMethod.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.URLRequestMethod = module.exports.default = { 3 | DELETE: "DELETE", 4 | GET: "GET", 5 | HEAD: "HEAD", 6 | OPTIONS: "OPTIONS", 7 | POST: "POST", 8 | PUT: "PUT" 9 | }; -------------------------------------------------------------------------------- /lib/openfl/net/URLStream.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/URLStream"); -------------------------------------------------------------------------------- /lib/openfl/net/XMLSocket.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/net/XMLSocket"); -------------------------------------------------------------------------------- /lib/openfl/net/navigateToURL.d.ts: -------------------------------------------------------------------------------- 1 | import URLRequest from "./URLRequest"; 2 | 3 | 4 | declare namespace openfl.net { 5 | 6 | export function navigateToURL (request:URLRequest, window?:string):void; 7 | 8 | } 9 | 10 | 11 | export default openfl.net.navigateToURL; -------------------------------------------------------------------------------- /lib/openfl/net/navigateToURL.js: -------------------------------------------------------------------------------- 1 | var Lib = require ("./../../_gen/openfl/Lib").default; 2 | module.exports.default = Lib.navigateToURL; -------------------------------------------------------------------------------- /lib/openfl/net/sendToURL.js: -------------------------------------------------------------------------------- 1 | var Lib = require ("./../../_gen/openfl/Lib").default; 2 | module.exports.default = Lib.sendToURL; -------------------------------------------------------------------------------- /lib/openfl/printing/PrintJob.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/printing/PrintJob"); -------------------------------------------------------------------------------- /lib/openfl/printing/PrintJobOptions.hx: -------------------------------------------------------------------------------- 1 | package openfl.printing; 2 | 3 | #if (display || !flash) 4 | @:jsRequire("openfl/printing/PrintJobOptions", "default") 5 | extern class PrintJobOptions 6 | { 7 | public var printAsBitmap:Bool; 8 | public function new(printAsBitmap:Bool = false); 9 | } 10 | #else 11 | typedef PrintJobOptions = flash.printing.PrintJobOptions; 12 | #end 13 | -------------------------------------------------------------------------------- /lib/openfl/printing/PrintJobOptions.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/printing/PrintJobOptions"); -------------------------------------------------------------------------------- /lib/openfl/printing/PrintJobOrientation.hx: -------------------------------------------------------------------------------- 1 | package openfl.printing; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract PrintJobOrientation(String) from String to String 4 | { 5 | public var LANDSCAPE = "landscape"; 6 | public var PORTRAIT = "portrait"; 7 | } 8 | -------------------------------------------------------------------------------- /lib/openfl/printing/PrintJobOrientation.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.PrintJobOrientation = module.exports.default = { 3 | LANDSCAPE: "landscape", 4 | PORTRAIT: "portrait" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/printing/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as PrintJob } from "./PrintJob"; 3 | export { default as PrintJobOptions } from "./PrintJobOptions"; 4 | export { default as PrintJobOrientation } from "./PrintJobOrientation"; 5 | -------------------------------------------------------------------------------- /lib/openfl/printing/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | PrintJob: require("./PrintJob").default, 3 | PrintJobOptions: require("./PrintJobOptions").default, 4 | PrintJobOrientation: require("./PrintJobOrientation").default 5 | } -------------------------------------------------------------------------------- /lib/openfl/profiler/Telemetry.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/profiler/Telemetry"); -------------------------------------------------------------------------------- /lib/openfl/profiler/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as Telemetry } from "./Telemetry"; 3 | -------------------------------------------------------------------------------- /lib/openfl/profiler/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | Telemetry: require("./Telemetry").default 3 | } -------------------------------------------------------------------------------- /lib/openfl/sensors/Accelerometer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/sensors/Accelerometer"); -------------------------------------------------------------------------------- /lib/openfl/sensors/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as Accelerometer } from "./Accelerometer"; 3 | -------------------------------------------------------------------------------- /lib/openfl/sensors/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | Accelerometer: require("./Accelerometer").default 3 | } -------------------------------------------------------------------------------- /lib/openfl/system/ApplicationDomain.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/system/ApplicationDomain"); -------------------------------------------------------------------------------- /lib/openfl/system/Capabilities.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/system/Capabilities"); -------------------------------------------------------------------------------- /lib/openfl/system/LoaderContext.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/system/LoaderContext"); -------------------------------------------------------------------------------- /lib/openfl/system/Security.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/system/Security"); -------------------------------------------------------------------------------- /lib/openfl/system/SecurityDomain.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/system/SecurityDomain"); -------------------------------------------------------------------------------- /lib/openfl/system/System.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/system/System"); -------------------------------------------------------------------------------- /lib/openfl/system/TouchscreenType.hx: -------------------------------------------------------------------------------- 1 | package openfl.system; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract TouchscreenType(String) from String to String 4 | { 5 | public var FINGER = "finger"; 6 | public var NONE = "none"; 7 | public var STYLUS = "stylus"; 8 | } 9 | -------------------------------------------------------------------------------- /lib/openfl/system/TouchscreenType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.TouchscreenType = module.exports.default = { 3 | FINGER: "finger", 4 | NONE: "none", 5 | STYLUS: "stylus" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/system/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | export { default as ApplicationDomain } from "./ApplicationDomain"; 3 | export { default as Capabilities } from "./Capabilities"; 4 | export { default as LoaderContext } from "./LoaderContext"; 5 | export { default as Security } from "./Security"; 6 | export { default as SecurityDomain } from "./SecurityDomain"; 7 | export { default as System } from "./System"; 8 | export { default as TouchscreenType } from "./TouchscreenType"; 9 | -------------------------------------------------------------------------------- /lib/openfl/system/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ApplicationDomain: require("./ApplicationDomain").default, 3 | Capabilities: require("./Capabilities").default, 4 | LoaderContext: require("./LoaderContext").default, 5 | Security: require("./Security").default, 6 | SecurityDomain: require("./SecurityDomain").default, 7 | System: require("./System").default, 8 | TouchscreenType: require("./TouchscreenType").default, 9 | } -------------------------------------------------------------------------------- /lib/openfl/text/AntiAliasType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.AntiAliasType = module.exports.default = { 3 | ADVANCED: "advanced", 4 | NORMAL: "normal" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/text/Font.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/text/Font"); -------------------------------------------------------------------------------- /lib/openfl/text/FontStyle.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.FontStyle = module.exports.default = { 3 | BOLD: "bold", 4 | BOLD_ITALIC: "boldItalic", 5 | ITALIC: "italic", 6 | REGULAR: "regular" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/text/FontType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.FontType = module.exports.default = { 3 | DEVICE: "device", 4 | EMBEDDED: "embedded", 5 | EMBEDDED_CFF: "embeddedCFF" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/text/GridFitType.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract GridFitType(String) from String to String 4 | { 5 | public var NONE = "none"; 6 | public var PIXEL = "pixel"; 7 | public var SUBPIXEL = "subpixel"; 8 | } 9 | -------------------------------------------------------------------------------- /lib/openfl/text/GridFitType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.GridFitType = module.exports.default = { 3 | NONE: "none", 4 | PIXEL: "pixel", 5 | SUBPIXEL: "subpixel" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/text/StaticText.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | #if (display || !flash) 4 | import openfl.display.DisplayObject; 5 | 6 | @:jsRequire("openfl/text/StaticText", "default") 7 | @:final extern class StaticText extends DisplayObject 8 | { 9 | public var text(default, null):String; 10 | private function new(); 11 | } 12 | #else 13 | typedef StaticText = flash.text.StaticText; 14 | #end 15 | -------------------------------------------------------------------------------- /lib/openfl/text/StaticText.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/text/StaticText"); -------------------------------------------------------------------------------- /lib/openfl/text/TextField.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/text/TextField"); -------------------------------------------------------------------------------- /lib/openfl/text/TextFieldAutoSize.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.TextFieldAutoSize = module.exports.default = { 3 | CENTER: "center", 4 | LEFT: "left", 5 | NONE: "none", 6 | RIGHT: "right" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/text/TextFieldType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.TextFieldType = module.exports.default = { 3 | DYNAMIC: "dynamic", 4 | INPUT: "input" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/text/TextFormat.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/text/TextFormat"); -------------------------------------------------------------------------------- /lib/openfl/text/TextFormatAlign.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.TextFormatAlign = module.exports.default = { 3 | CENTER: "center", 4 | END: "end", 5 | JUSTIFY: "justify", 6 | LEFT: "left", 7 | RIGHT: "right", 8 | START: "start" 9 | }; -------------------------------------------------------------------------------- /lib/openfl/text/TextLineMetrics.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/text/TextLineMetrics"); -------------------------------------------------------------------------------- /lib/openfl/ui/GameInput.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/ui/GameInput"); -------------------------------------------------------------------------------- /lib/openfl/ui/GameInputControl.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/ui/GameInputControl"); -------------------------------------------------------------------------------- /lib/openfl/ui/GameInputDevice.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/ui/GameInputDevice"); -------------------------------------------------------------------------------- /lib/openfl/ui/KeyLocation.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.KeyLocation = module.exports.default = { 3 | LEFT: 1, 4 | NUM_PAD: 3, 5 | RIGHT: 2, 6 | STANDARD: 0 7 | }; -------------------------------------------------------------------------------- /lib/openfl/ui/Keyboard.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/ui/Keyboard"); -------------------------------------------------------------------------------- /lib/openfl/ui/Mouse.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/ui/Mouse"); -------------------------------------------------------------------------------- /lib/openfl/ui/MouseCursor.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.MouseCursor = module.exports.default = { 3 | ARROW: "arrow", 4 | AUTO: "auto", 5 | BUTTON: "button", 6 | HAND: "hand", 7 | IBEAM: "ibeam" 8 | }; -------------------------------------------------------------------------------- /lib/openfl/ui/Multitouch.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/ui/Multitouch"); -------------------------------------------------------------------------------- /lib/openfl/ui/MultitouchInputMode.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.MultitouchInputMode = module.exports.default = { 3 | GESTURE: "gesture", 4 | NONE: "none", 5 | TOUCH_POINT: "touchPoint" 6 | }; -------------------------------------------------------------------------------- /lib/openfl/utils/AGALMiniAssembler.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/AGALMiniAssembler"); -------------------------------------------------------------------------------- /lib/openfl/utils/AssetCache.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/AssetCache"); -------------------------------------------------------------------------------- /lib/openfl/utils/AssetManifest.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/AssetManifest"); -------------------------------------------------------------------------------- /lib/openfl/utils/AssetType.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.AssetType = module.exports.default = { 3 | BINARY: "BINARY", 4 | FONT: "FONT", 5 | IMAGE: "IMAGE", 6 | MOVIE_CLIP: "MOVIE_CLIP", 7 | MUSIC: "MUSIC", 8 | SOUND: "SOUND", 9 | TEMPLATE: "TEMPLATE", 10 | TEXT: "TEXT" 11 | }; -------------------------------------------------------------------------------- /lib/openfl/utils/Assets.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/Assets"); -------------------------------------------------------------------------------- /lib/openfl/utils/ByteArray.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/ByteArrayData"); -------------------------------------------------------------------------------- /lib/openfl/utils/CompressionAlgorithm.hx: -------------------------------------------------------------------------------- 1 | package openfl.utils; 2 | 3 | #if (haxe_ver >= 4.0) enum #else @:enum #end abstract CompressionAlgorithm(String) from String to String 4 | { 5 | public var DEFLATE = "deflate"; 6 | // GZIP; 7 | public var LZMA = "lzma"; 8 | public var ZLIB = "zlib"; 9 | } 10 | -------------------------------------------------------------------------------- /lib/openfl/utils/CompressionAlgorithm.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.CompressionAlgorithm = module.exports.default = { 3 | DEFLATE: "deflate", 4 | //GZIP; 5 | LZMA: "lzma", 6 | ZLIB: "zlib" 7 | }; -------------------------------------------------------------------------------- /lib/openfl/utils/Dictionary.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty(exports, "__esModule", {value: true}); 2 | var Dictionary = function (weakKeys) {} 3 | Dictionary.prototype.constructor = Dictionary; 4 | 5 | module.exports.default = Dictionary; -------------------------------------------------------------------------------- /lib/openfl/utils/Endian.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.Endian = module.exports.default = { 3 | BIG_ENDIAN: "bigEndian", 4 | LITTLE_ENDIAN: "littleEndian" 5 | }; -------------------------------------------------------------------------------- /lib/openfl/utils/Function.hx: -------------------------------------------------------------------------------- 1 | package openfl.utils; 2 | 3 | #if flash 4 | typedef Function = Dynamic; 5 | #else 6 | typedef Function = haxe.Constraints.Function; 7 | #end 8 | -------------------------------------------------------------------------------- /lib/openfl/utils/Future.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/lime/app/Future"); -------------------------------------------------------------------------------- /lib/openfl/utils/IAssetCache.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/IAssetCache"); -------------------------------------------------------------------------------- /lib/openfl/utils/IDataInput.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/IDataInput"); -------------------------------------------------------------------------------- /lib/openfl/utils/IDataOutput.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/IDataOutput"); -------------------------------------------------------------------------------- /lib/openfl/utils/IExternalizable.hx: -------------------------------------------------------------------------------- 1 | package openfl.utils; 2 | 3 | #if !flash 4 | interface IExternalizable 5 | { 6 | function readExternal(input:IDataInput):Void; 7 | function writeExternal(output:IDataOutput):Void; 8 | } 9 | #else 10 | typedef IExternalizable = flash.utils.IExternalizable; 11 | #end 12 | -------------------------------------------------------------------------------- /lib/openfl/utils/IExternalizable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/IExternablizable"); -------------------------------------------------------------------------------- /lib/openfl/utils/Object.d.ts: -------------------------------------------------------------------------------- 1 | export default Object; -------------------------------------------------------------------------------- /lib/openfl/utils/Timer.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./../../_gen/openfl/utils/Timer"); -------------------------------------------------------------------------------- /lib/openfl/utils/clearTimeout.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.default = clearTimeout; 3 | -------------------------------------------------------------------------------- /lib/openfl/utils/getDefinitionByName.js: -------------------------------------------------------------------------------- 1 | var Lib = require ("./../../_gen/openfl/Lib").default; 2 | module.exports.default = Lib.getDefinitionByName; -------------------------------------------------------------------------------- /lib/openfl/utils/getQualifiedClassName.js: -------------------------------------------------------------------------------- 1 | var Lib = require ("./../../_gen/openfl/Lib").default; 2 | module.exports.default = Lib.getQualifiedClassName; -------------------------------------------------------------------------------- /lib/openfl/utils/getQualifiedSuperclassName.js: -------------------------------------------------------------------------------- 1 | var Lib = require ("./../../_gen/openfl/Lib").default; 2 | module.exports.default = Lib.getQualifiedSuperclassName; -------------------------------------------------------------------------------- /lib/openfl/utils/getTimer.js: -------------------------------------------------------------------------------- 1 | var Lib = require ("./../../_gen/openfl/Lib").default; 2 | module.exports.default = Lib.getTimer; -------------------------------------------------------------------------------- /lib/openfl/utils/setTimeout.js: -------------------------------------------------------------------------------- 1 | Object.defineProperty (module.exports, "__esModule", { value: true }); 2 | module.exports.default = setTimeout; -------------------------------------------------------------------------------- /scripts/.npmignore: -------------------------------------------------------------------------------- 1 | run.hxml 2 | RunScript.hx 3 | Tools.hx 4 | tools.hxml 5 | haxe 6 | xml -------------------------------------------------------------------------------- /scripts/importAll.ts: -------------------------------------------------------------------------------- 1 | import * as openfl from "./../lib/openfl"; -------------------------------------------------------------------------------- /scripts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2015", 4 | "module": "CommonJS", 5 | "moduleResolution": "node", 6 | "noEmit": true 7 | }, 8 | "include": [ 9 | "../lib/**/*.d.ts" 10 | ] 11 | } -------------------------------------------------------------------------------- /test/es5/webpack.config.js: -------------------------------------------------------------------------------- 1 | var glob = require ("glob"); 2 | var path = require ("path"); 3 | 4 | var allTests = glob.sync ('./**/*.js', { "ignore": [ './webpack.config.js', './bundle.js' ]}); 5 | 6 | module.exports = { 7 | mode: "development", 8 | entry: { 9 | bundle: allTests 10 | }, 11 | output: { 12 | path: __dirname 13 | }, 14 | resolve: { 15 | alias: { 16 | "openfl": path.resolve (__dirname, '../../lib/openfl/') 17 | } 18 | } 19 | }; -------------------------------------------------------------------------------- /test/es6/entry.js: -------------------------------------------------------------------------------- 1 | import Stage from "openfl/display/Stage"; 2 | var assert = chai.assert; 3 | 4 | 5 | before (function () { 6 | 7 | var stage = new Stage (550, 400); 8 | 9 | }); -------------------------------------------------------------------------------- /test/es6/openfl/LibTest.hx: -------------------------------------------------------------------------------- 1 | describe("TypeScript | Lib", function() {}); 2 | -------------------------------------------------------------------------------- /test/es6/openfl/MemoryTest.hx: -------------------------------------------------------------------------------- 1 | describe("TypeScript | Memory", function() {}); 2 | -------------------------------------------------------------------------------- /test/es6/openfl/display/DOMElementTest.js: -------------------------------------------------------------------------------- 1 | import DOMElement from "openfl/display/DOMElement"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | DOMElement", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var domElement = new DOMElement (null); 13 | var exists = domElement; 14 | 15 | assert.notEqual (exists, null); 16 | 17 | }); 18 | 19 | 20 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/FPSTest.js: -------------------------------------------------------------------------------- 1 | import FPS from "openfl/display/FPS"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | FPS", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var fps = new FPS (); 13 | 14 | assert.notEqual (fps, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/GraphicsEndFillTest.js: -------------------------------------------------------------------------------- 1 | import GraphicsEndFill from "openfl/display/GraphicsEndFill"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | GraphicsEndFill", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var endFill = new GraphicsEndFill (); 13 | 14 | assert.notEqual (endFill, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/GraphicsPathWindingTest.js: -------------------------------------------------------------------------------- 1 | import GraphicsPathWinding from "openfl/display/GraphicsPathWinding"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | GraphicsPathWinding", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+GraphicsPathWinding.NON_ZERO) { 11 | 12 | case GraphicsPathWinding.EVEN_ODD: 13 | case GraphicsPathWinding.NON_ZERO: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/InterpolationMethodTest.js: -------------------------------------------------------------------------------- 1 | import InterpolationMethod from "openfl/display/InterpolationMethod"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | InterpolationMethod", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+InterpolationMethod.RGB) { 11 | 12 | case InterpolationMethod.LINEAR_RGB: 13 | case InterpolationMethod.RGB: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/JointStyleTest.js: -------------------------------------------------------------------------------- 1 | import JointStyle from "openfl/display/JointStyle"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | JointStyle", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+JointStyle.ROUND) { 11 | 12 | case JointStyle.BEVEL: 13 | case JointStyle.MITER: 14 | case JointStyle.ROUND: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/PixelSnappingTest.js: -------------------------------------------------------------------------------- 1 | import PixelSnapping from "openfl/display/PixelSnapping"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | PixelSnapping", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+PixelSnapping.NEVER) { 11 | 12 | case PixelSnapping.ALWAYS: 13 | case PixelSnapping.AUTO: 14 | case PixelSnapping.NEVER: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/PreloaderTest.js: -------------------------------------------------------------------------------- 1 | import Preloader from "openfl/display/Preloader"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | Preloader", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var preloader = new Preloader (); 13 | var exists = preloader; 14 | 15 | assert.notEqual (exists, null); 16 | 17 | }); 18 | 19 | 20 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/ShaderPrecisionTest.js: -------------------------------------------------------------------------------- 1 | import ShaderPrecision from "openfl/display/ShaderPrecision"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | ShaderPrecision", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+ShaderPrecision.FAST) { 11 | 12 | case ShaderPrecision.FAST: 13 | case ShaderPrecision.FULL: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/SpreadMethodTest.js: -------------------------------------------------------------------------------- 1 | import SpreadMethod from "openfl/display/SpreadMethod"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | SpreadMethod", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+SpreadMethod.REPEAT) { 11 | 12 | case SpreadMethod.PAD: 13 | case SpreadMethod.REFLECT: 14 | case SpreadMethod.REPEAT: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/StageQualityTest.js: -------------------------------------------------------------------------------- 1 | import StageQuality from "openfl/display/StageQuality"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | StageQuality", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+StageQuality.MEDIUM) { 11 | 12 | case StageQuality.BEST: 13 | case StageQuality.HIGH: 14 | case StageQuality.LOW: 15 | case StageQuality.MEDIUM: 16 | break; 17 | 18 | } 19 | 20 | }); 21 | 22 | 23 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display/TriangleCullingTest.js: -------------------------------------------------------------------------------- 1 | import TriangleCulling from "openfl/display/TriangleCulling"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | TriangleCulling", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+TriangleCulling.NEGATIVE) { 11 | 12 | case TriangleCulling.NEGATIVE: 13 | case TriangleCulling.NONE: 14 | case TriangleCulling.POSITIVE: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display3D/Context3DProgramTypeTest.js: -------------------------------------------------------------------------------- 1 | import Context3DProgramType from "openfl/display3D/Context3DProgramType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | Context3DProgramType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+Context3DProgramType.FRAGMENT) { 11 | 12 | case Context3DProgramType.FRAGMENT: 13 | case Context3DProgramType.VERTEX: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/display3D/Context3DRenderModeTest.js: -------------------------------------------------------------------------------- 1 | import Context3DRenderMode from "openfl/display3D/Context3DRenderMode"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | Context3DRenderMode", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+Context3DRenderMode.AUTO) { 11 | 12 | case Context3DRenderMode.AUTO: 13 | case Context3DRenderMode.SOFTWARE: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/ArgumentErrorTest.js: -------------------------------------------------------------------------------- 1 | import ArgumentError from "openfl/errors/ArgumentError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | ArgumentError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var argumentError = new ArgumentError (); 13 | assert.notEqual (argumentError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/EOFErrorTest.js: -------------------------------------------------------------------------------- 1 | import EOFError from "openfl/errors/EOFError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | EOFError", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var eofError = new EOFError (); 13 | assert.notEqual (eofError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/IOErrorTest.js: -------------------------------------------------------------------------------- 1 | import IOError from "openfl/errors/IOError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | IOError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var ioError = new IOError (); 13 | assert.notEqual (ioError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/IllegalOperationErrorTest.js: -------------------------------------------------------------------------------- 1 | import IllegalOperationError from "openfl/errors/IllegalOperationError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | IllegalOperationError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var illegalOperationError = new IllegalOperationError (); 13 | assert.notEqual (illegalOperationError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/RangeErrorTest.js: -------------------------------------------------------------------------------- 1 | import RangeError from "openfl/errors/RangeError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | RangeError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var rangeError = new RangeError (); 13 | assert.notEqual (rangeError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/SecurityErrorTest.js: -------------------------------------------------------------------------------- 1 | import SecurityError from "openfl/errors/SecurityError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | SecurityError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var securityError = new SecurityError (); 13 | assert.notEqual (securityError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/errors/TypeErrorTest.js: -------------------------------------------------------------------------------- 1 | import TypeError from "openfl/errors/TypeError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | TypeError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var typeError = new TypeError (); 13 | assert.notEqual (typeError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/events/EventPhaseTest.js: -------------------------------------------------------------------------------- 1 | import EventPhase from "openfl/events/EventPhase"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | EventPhase", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (+EventPhase.CAPTURING_PHASE) { 11 | 12 | case EventPhase.CAPTURING_PHASE: 13 | case EventPhase.AT_TARGET: 14 | case EventPhase.BUBBLING_PHASE: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/events/IOErrorEventTest.js: -------------------------------------------------------------------------------- 1 | import IOErrorEvent from "openfl/events/IOErrorEvent"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | IOErrorEvent", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var ioErrorEvent = new IOErrorEvent (IOErrorEvent.IO_ERROR); 13 | assert.notEqual (ioErrorEvent, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/events/SecurityErrorEventTest.js: -------------------------------------------------------------------------------- 1 | import SecurityErrorEvent from "openfl/events/SecurityErrorEvent"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | SecurityErrorEvent", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var securityErrorEvent = new SecurityErrorEvent (SecurityErrorEvent.SECURITY_ERROR); 13 | assert.notEqual (securityErrorEvent, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/es6/openfl/events/UncaughtErrorEventsTest.js: -------------------------------------------------------------------------------- 1 | import UncaughtErrorEvents from "openfl/events/UncaughtErrorEvents"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | UncaughtErrorEvents", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var uncaughtErrorEvents = new UncaughtErrorEvents (); 13 | 14 | assert.notEqual (uncaughtErrorEvents, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/es6/openfl/filters/BitmapFilterTypeTest.js: -------------------------------------------------------------------------------- 1 | import BitmapFilterType from "openfl/filters/BitmapFilterType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | BitmapFilterType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+BitmapFilterType.FULL) { 11 | 12 | case BitmapFilterType.FULL: 13 | case BitmapFilterType.INNER: 14 | case BitmapFilterType.OUTER: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/geom/Orientation3DTest.js: -------------------------------------------------------------------------------- 1 | import Orientation3D from "openfl/geom/Orientation3D"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | Orientation", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+Orientation3D.AXIS_ANGLE) { 11 | 12 | case Orientation3D.AXIS_ANGLE: 13 | case Orientation3D.EULER_ANGLES: 14 | case Orientation3D.QUATERNION: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/media/SoundLoaderContextTest.js: -------------------------------------------------------------------------------- 1 | import SoundLoaderContext from "openfl/media/SoundLoaderContext"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | SoundLoaderContext", function () { 6 | 7 | 8 | it ("bufferTime", function () { 9 | 10 | 11 | 12 | }); 13 | 14 | 15 | it ("checkPolicyFile", function () { 16 | 17 | 18 | 19 | }); 20 | 21 | 22 | it ("new", function () { 23 | 24 | 25 | 26 | }); 27 | 28 | 29 | }); -------------------------------------------------------------------------------- /test/es6/openfl/system/SecurityDomainTest.js: -------------------------------------------------------------------------------- 1 | import SecurityDomain from "openfl/system/SecurityDomain"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | SecurityDomain", function () { 6 | 7 | 8 | it ("currentDomain", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var exists = SecurityDomain.currentDomain; 13 | 14 | assert.notEqual (exists, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/es6/openfl/text/AntiAliasTypeTest.js: -------------------------------------------------------------------------------- 1 | import AntiAliasType from "openfl/text/AntiAliasType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | AntiAliasType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+AntiAliasType.ADVANCED) { 11 | 12 | case AntiAliasType.ADVANCED: 13 | case AntiAliasType.NORMAL: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/text/FontStyleTest.js: -------------------------------------------------------------------------------- 1 | import FontStyle from "openfl/text/FontStyle"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | FontStyle", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+FontStyle.BOLD) { 11 | 12 | case FontStyle.BOLD: 13 | case FontStyle.BOLD_ITALIC: 14 | case FontStyle.ITALIC: 15 | case FontStyle.REGULAR: 16 | break; 17 | 18 | } 19 | 20 | }); 21 | 22 | 23 | }); -------------------------------------------------------------------------------- /test/es6/openfl/text/FontTypeTest.js: -------------------------------------------------------------------------------- 1 | import FontType from "openfl/text/FontType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | FontType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+FontType.DEVICE) { 11 | 12 | case FontType.DEVICE: 13 | case FontType.EMBEDDED: 14 | case FontType.EMBEDDED_CFF: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/text/GridFitTypeTest.js: -------------------------------------------------------------------------------- 1 | import GridFitType from "openfl/text/GridFitType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | GridFitType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+GridFitType.NONE) { 11 | 12 | case GridFitType.NONE: 13 | case GridFitType.PIXEL: 14 | case GridFitType.SUBPIXEL: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/es6/openfl/text/TextFieldTypeTest.js: -------------------------------------------------------------------------------- 1 | import TextFieldType from "openfl/text/TextFieldType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | TextFieldType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+TextFieldType.DYNAMIC) { 11 | 12 | case TextFieldType.DYNAMIC: 13 | case TextFieldType.INPUT: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/es6/openfl/ui/KeyboardTest.js: -------------------------------------------------------------------------------- 1 | import Keyboard from "openfl/ui/Keyboard"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | Keyboard", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | var exists = Keyboard.A; 11 | 12 | assert.notEqual (exists, null); 13 | 14 | }); 15 | 16 | 17 | }); -------------------------------------------------------------------------------- /test/es6/openfl/utils/EndianTest.js: -------------------------------------------------------------------------------- 1 | import Endian from "openfl/utils/Endian"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("ES6 | Endian", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (+Endian.BIG_ENDIAN) { 11 | 12 | case Endian.BIG_ENDIAN: 13 | case Endian.LITTLE_ENDIAN: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/haxe/.gitignore: -------------------------------------------------------------------------------- 1 | entry.js 2 | bundle.js 3 | mocha.js 4 | mocha.css -------------------------------------------------------------------------------- /test/haxe/build.hxml: -------------------------------------------------------------------------------- 1 | -main Main 2 | -js entry.js 3 | -cp ../../lib 4 | -cp src 5 | -D source-map -------------------------------------------------------------------------------- /test/haxe/openfl/1x1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openfl/openfl-js/75349d9467ed74ae0f8efdccc0ac940d6524f030/test/haxe/openfl/1x1.png -------------------------------------------------------------------------------- /test/haxe/openfl/LibTest.hx: -------------------------------------------------------------------------------- 1 | package openfl; 2 | 3 | class LibTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | Lib", function() {}); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/haxe/openfl/MemoryTest.hx: -------------------------------------------------------------------------------- 1 | package openfl; 2 | 3 | class MemoryTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | Memory", function() {}); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/FPSTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class FPSTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | FPS", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var fps = new FPS(); 14 | 15 | Assert.notEqual(fps, null); 16 | }); 17 | }); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/GraphicsPathWindingTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class GraphicsPathWindingTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | GraphicsPathWinding", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (GraphicsPathWinding.NON_ZERO) 12 | { 13 | case GraphicsPathWinding.EVEN_ODD, GraphicsPathWinding.NON_ZERO: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/InterpolationMethodTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class InterpolationMethodTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | InterpolationMethod", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (InterpolationMethod.RGB) 12 | { 13 | case InterpolationMethod.LINEAR_RGB, InterpolationMethod.RGB: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/JointStyleTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class JointStyleTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | JointStyle", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (JointStyle.ROUND) 12 | { 13 | case JointStyle.BEVEL, JointStyle.MITER, JointStyle.ROUND: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/LineScaleModeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class LineScaleModeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | LineScaleMode", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (LineScaleMode.VERTICAL) 12 | { 13 | case LineScaleMode.HORIZONTAL, LineScaleMode.NONE, LineScaleMode.NORMAL, LineScaleMode.VERTICAL: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/PixelSnappingTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class PixelSnappingTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | PixelSnapping", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (PixelSnapping.NEVER) 12 | { 13 | case PixelSnapping.ALWAYS, PixelSnapping.AUTO, PixelSnapping.NEVER: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/ShaderPrecisionTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | import openfl.display.ShaderPrecision; 4 | 5 | class ShaderPrecisionTest 6 | { 7 | public static function __init__() 8 | { 9 | Mocha.describe("Haxe | ShaderPrecision", function() 10 | { 11 | Mocha.it("test", function() 12 | { 13 | switch (ShaderPrecision.FAST) 14 | { 15 | case ShaderPrecision.FAST, ShaderPrecision.FULL: 16 | } 17 | }); 18 | }); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/SpreadMethodTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class SpreadMethodTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | SpreadMethod", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (SpreadMethod.REPEAT) 12 | { 13 | case SpreadMethod.PAD, SpreadMethod.REFLECT, SpreadMethod.REPEAT: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/StageDisplayStateTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class StageDisplayStateTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | StageDisplayState", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (StageDisplayState.NORMAL) 12 | { 13 | case StageDisplayState.FULL_SCREEN, StageDisplayState.FULL_SCREEN_INTERACTIVE, StageDisplayState.NORMAL: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/StageQualityTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class StageQualityTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | StageQuality", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (StageQuality.MEDIUM) 12 | { 13 | case StageQuality.BEST, StageQuality.HIGH, StageQuality.LOW, StageQuality.MEDIUM: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/StageScaleModeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class StageScaleModeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | StageScaleMode", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (StageScaleMode.SHOW_ALL) 12 | { 13 | case StageScaleMode.EXACT_FIT, StageScaleMode.NO_BORDER, StageScaleMode.NO_SCALE, StageScaleMode.SHOW_ALL: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/display/TriangleCullingTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.display; 2 | 3 | class TriangleCullingTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | TriangleCulling", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (TriangleCulling.NEGATIVE) 12 | { 13 | case TriangleCulling.NEGATIVE, TriangleCulling.NONE, TriangleCulling.POSITIVE: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/ArgumentErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class ArgumentErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | ArgumentError", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var argumentError = new ArgumentError(); 14 | Assert.notEqual(argumentError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/EOFErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class EOFErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | EOFError", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var eofError = new EOFError(); 14 | Assert.notEqual(eofError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/IOErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class IOErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | IOError", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var ioError = new IOError(); 14 | Assert.notEqual(ioError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/IllegalOperationErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class IllegalOperationErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | IllegalOperationError", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var illegalOperationError = new IllegalOperationError(); 14 | Assert.notEqual(illegalOperationError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/RangeErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class RangeErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | RangeError", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var rangeError = new RangeError(); 14 | Assert.notEqual(rangeError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/SecurityErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class SecurityErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | SecurityError", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var securityError = new SecurityError(); 14 | Assert.notEqual(securityError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/errors/TypeErrorTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.errors; 2 | 3 | class TypeErrorTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | TypeError", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var typeError = new TypeError(); 14 | Assert.notEqual(typeError, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/events/EventPhaseTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.events; 2 | 3 | class EventPhaseTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | EventPhase", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (EventPhase.CAPTURING_PHASE) 12 | { 13 | case EventPhase.CAPTURING_PHASE, EventPhase.AT_TARGET, EventPhase.BUBBLING_PHASE: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/events/IOErrorEventTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.events; 2 | 3 | class IOErrorEventTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | IOErrorEvent", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var ioErrorEvent = new IOErrorEvent(IOErrorEvent.IO_ERROR); 14 | Assert.notEqual(ioErrorEvent, null); 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/events/UncaughtErrorEventsTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.events; 2 | 3 | class UncaughtErrorEventsTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | UncaughtErrorEvents", function() 8 | { 9 | Mocha.it("new", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var uncaughtErrorEvents = new UncaughtErrorEvents(); 14 | 15 | Assert.notEqual(uncaughtErrorEvents, null); 16 | }); 17 | }); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/haxe/openfl/filters/BitmapFilterQuality.hx: -------------------------------------------------------------------------------- 1 | package openfl.filters; 2 | 3 | class BitmapFilterQualityTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | BitmapFilterQuality", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (BitmapFilterQuality.HIGH) 12 | { 13 | case BitmapFilterQuality.HIGH, BitmapFilterQuality.MEDIUM, BitmapFilterQuality.LOW: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/filters/BitmapFilterTypeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.filters; 2 | 3 | class BitmapFilterTypeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | BitmapFilterType", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (BitmapFilterType.FULL) 12 | { 13 | case BitmapFilterType.FULL, BitmapFilterType.INNER, BitmapFilterType.OUTER: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/geom/Orientation3DTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.geom; 2 | 3 | class Orientation3DTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | Orientation", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (Orientation3D.AXIS_ANGLE) 12 | { 13 | case Orientation3D.AXIS_ANGLE, Orientation3D.EULER_ANGLES, Orientation3D.QUATERNION: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/media/SoundLoaderContextTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.media; 2 | 3 | class SoundLoaderContextTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | SoundLoaderContext", function() 8 | { 9 | Mocha.it("bufferTime", function() {}); 10 | 11 | Mocha.it("checkPolicyFile", function() {}); 12 | 13 | Mocha.it("new", function() {}); 14 | }); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/haxe/openfl/net/SharedObjectFlushStatusTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.net; 2 | 3 | class SharedObjectFlushStatusTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | SharedObjectFlushStatus", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (SharedObjectFlushStatus.FLUSHED) 12 | { 13 | case SharedObjectFlushStatus.FLUSHED, SharedObjectFlushStatus.PENDING: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/net/URLLoaderDataFormatTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.net; 2 | 3 | class URLLoaderDataFormatTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | URLLoaderDataFormat", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (URLLoaderDataFormat.BINARY) 12 | { 13 | case URLLoaderDataFormat.BINARY, URLLoaderDataFormat.TEXT, URLLoaderDataFormat.VARIABLES: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/system/SecurityDomainTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.system; 2 | 3 | class SecurityDomainTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | SecurityDomain", function() 8 | { 9 | Mocha.it("currentDomain", function() 10 | { 11 | // TODO: Confirm functionality 12 | 13 | var exists = SecurityDomain.currentDomain; 14 | 15 | Assert.notEqual(exists, null); 16 | }); 17 | }); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/haxe/openfl/text/AntiAliasTypeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | class AntiAliasTypeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | AntiAliasType", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (AntiAliasType.ADVANCED) 12 | { 13 | case AntiAliasType.ADVANCED, AntiAliasType.NORMAL: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/text/FontStyleTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | class FontStyleTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | FontStyle", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (FontStyle.BOLD) 12 | { 13 | case FontStyle.BOLD, FontStyle.BOLD_ITALIC, FontStyle.ITALIC, FontStyle.REGULAR: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/text/FontTypeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | class FontTypeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | FontType", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (FontType.DEVICE) 12 | { 13 | case FontType.DEVICE, FontType.EMBEDDED, FontType.EMBEDDED_CFF: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/text/GridFitTypeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | class GridFitTypeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | GridFitType", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (GridFitType.NONE) 12 | { 13 | case GridFitType.NONE, GridFitType.PIXEL, GridFitType.SUBPIXEL: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/text/TextFieldAutoSizeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | class TextFieldAutoSizeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | TextFieldAutoSize", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (TextFieldAutoSize.CENTER) 12 | { 13 | case TextFieldAutoSize.CENTER, TextFieldAutoSize.LEFT, TextFieldAutoSize.NONE, TextFieldAutoSize.RIGHT: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/text/TextFieldTypeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.text; 2 | 3 | class TextFieldTypeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | TextFieldType", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (TextFieldType.DYNAMIC) 12 | { 13 | case TextFieldType.DYNAMIC, TextFieldType.INPUT: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/ui/KeyboardTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.ui; 2 | 3 | class KeyboardTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | Keyboard", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | var exists = Keyboard.A; 12 | 13 | Assert.notEqual(exists, null); 14 | }); 15 | }); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/haxe/openfl/ui/MultitouchInputModeTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.ui; 2 | 3 | class MultitouchInputModeTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | MultitouchInputMode", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (MultitouchInputMode.GESTURE) 12 | { 13 | case MultitouchInputMode.GESTURE, MultitouchInputMode.NONE, MultitouchInputMode.TOUCH_POINT: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/openfl/utils/EndianTest.hx: -------------------------------------------------------------------------------- 1 | package openfl.utils; 2 | 3 | class EndianTest 4 | { 5 | public static function __init__() 6 | { 7 | Mocha.describe("Haxe | Endian", function() 8 | { 9 | Mocha.it("test", function() 10 | { 11 | switch (Endian.BIG_ENDIAN) 12 | { 13 | case Endian.BIG_ENDIAN, Endian.LITTLE_ENDIAN: 14 | } 15 | }); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/haxe/src/Mocha.hx: -------------------------------------------------------------------------------- 1 | @:native("global") 2 | extern class Mocha 3 | { 4 | public static function after(method:Dynamic):Void; 5 | public static function afterEach(method:Dynamic):Void; 6 | public static function before(method:Dynamic):Void; 7 | public static function beforeEach(method:Dynamic):Void; 8 | public static function describe(label:String, method:Dynamic):Void; 9 | public static function it(label:String, method:Dynamic):Void; 10 | } 11 | -------------------------------------------------------------------------------- /test/haxe/webpack.config.js: -------------------------------------------------------------------------------- 1 | var glob = require ("glob"); 2 | var path = require ("path"); 3 | 4 | module.exports = { 5 | mode: "development", 6 | entry: { 7 | bundle: [ "./entry.js" ] 8 | }, 9 | output: { 10 | path: __dirname 11 | }, 12 | resolve: { 13 | alias: { 14 | "openfl": path.resolve (__dirname, '../../lib/openfl/') 15 | } 16 | } 17 | }; -------------------------------------------------------------------------------- /test/typescript/.gitignore: -------------------------------------------------------------------------------- 1 | **/*.js 2 | !webpack.config.js 3 | mocha.js 4 | mocha.css 5 | entry.js -------------------------------------------------------------------------------- /test/typescript/chai.d.ts: -------------------------------------------------------------------------------- 1 | declare var chai: any; -------------------------------------------------------------------------------- /test/typescript/entry.ts: -------------------------------------------------------------------------------- 1 | import Stage from "openfl/display/Stage"; 2 | var assert = chai.assert; 3 | 4 | 5 | before (function () { 6 | 7 | var stage = new Stage (550, 400); 8 | 9 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/DOMElementTest.ts: -------------------------------------------------------------------------------- 1 | import DOMElement from "openfl/display/DOMElement"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | DOMElement", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var domElement = new DOMElement (null); 13 | var exists = domElement; 14 | 15 | assert.notEqual (exists, null); 16 | 17 | }); 18 | 19 | 20 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/FPSTest.ts: -------------------------------------------------------------------------------- 1 | import FPS from "openfl/display/FPS"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | FPS", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var fps = new FPS (); 13 | 14 | assert.notEqual (fps, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/GraphicsEndFillTest.ts: -------------------------------------------------------------------------------- 1 | import GraphicsEndFill from "openfl/display/GraphicsEndFill"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | GraphicsEndFill", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var endFill = new GraphicsEndFill (); 13 | 14 | assert.notEqual (endFill, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/InterpolationMethodTest.ts: -------------------------------------------------------------------------------- 1 | import InterpolationMethod from "openfl/display/InterpolationMethod"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | InterpolationMethod", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+InterpolationMethod.RGB) { 11 | 12 | case InterpolationMethod.LINEAR_RGB: 13 | case InterpolationMethod.RGB: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/JointStyleTest.ts: -------------------------------------------------------------------------------- 1 | import JointStyle from "openfl/display/JointStyle"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | JointStyle", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+JointStyle.ROUND) { 11 | 12 | case JointStyle.BEVEL: 13 | case JointStyle.MITER: 14 | case JointStyle.ROUND: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/PixelSnappingTest.ts: -------------------------------------------------------------------------------- 1 | import PixelSnapping from "openfl/display/PixelSnapping"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | PixelSnapping", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+PixelSnapping.NEVER) { 11 | 12 | case PixelSnapping.ALWAYS: 13 | case PixelSnapping.AUTO: 14 | case PixelSnapping.NEVER: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/PreloaderTest.ts: -------------------------------------------------------------------------------- 1 | import Preloader from "openfl/display/Preloader"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | Preloader", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var preloader = new Preloader (); 13 | var exists = preloader; 14 | 15 | assert.notEqual (exists, null); 16 | 17 | }); 18 | 19 | 20 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/ShaderPrecisionTest.ts: -------------------------------------------------------------------------------- 1 | import ShaderPrecision from "openfl/display/ShaderPrecision"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | ShaderPrecision", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+ShaderPrecision.FAST) { 11 | 12 | case ShaderPrecision.FAST: 13 | case ShaderPrecision.FULL: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display/SpreadMethodTest.ts: -------------------------------------------------------------------------------- 1 | import SpreadMethod from "openfl/display/SpreadMethod"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | SpreadMethod", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+SpreadMethod.REPEAT) { 11 | 12 | case SpreadMethod.PAD: 13 | case SpreadMethod.REFLECT: 14 | case SpreadMethod.REPEAT: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/display3D/Context3DRenderModeTest.ts: -------------------------------------------------------------------------------- 1 | import Context3DRenderMode from "openfl/display3D/Context3DRenderMode"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | Context3DRenderMode", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+Context3DRenderMode.AUTO) { 11 | 12 | case Context3DRenderMode.AUTO: 13 | case Context3DRenderMode.SOFTWARE: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/ArgumentErrorTest.ts: -------------------------------------------------------------------------------- 1 | import ArgumentError from "openfl/errors/ArgumentError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | ArgumentError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var argumentError = new ArgumentError (); 13 | assert.notEqual (argumentError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/EOFErrorTest.ts: -------------------------------------------------------------------------------- 1 | import EOFError from "openfl/errors/EOFError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | EOFError", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var eofError = new EOFError (); 13 | assert.notEqual (eofError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/IOErrorTest.ts: -------------------------------------------------------------------------------- 1 | import IOError from "openfl/errors/IOError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | IOError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var ioError = new IOError (); 13 | assert.notEqual (ioError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/IllegalOperationErrorTest.ts: -------------------------------------------------------------------------------- 1 | import IllegalOperationError from "openfl/errors/IllegalOperationError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | IllegalOperationError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var illegalOperationError = new IllegalOperationError (); 13 | assert.notEqual (illegalOperationError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/RangeErrorTest.ts: -------------------------------------------------------------------------------- 1 | import RangeError from "openfl/errors/RangeError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | RangeError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var rangeError = new RangeError (); 13 | assert.notEqual (rangeError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/SecurityErrorTest.ts: -------------------------------------------------------------------------------- 1 | import SecurityError from "openfl/errors/SecurityError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | SecurityError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var securityError = new SecurityError (); 13 | assert.notEqual (securityError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/errors/TypeErrorTest.ts: -------------------------------------------------------------------------------- 1 | import TypeError from "openfl/errors/TypeError"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | TypeError", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var typeError = new TypeError (); 13 | assert.notEqual (typeError, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/events/EventPhaseTest.ts: -------------------------------------------------------------------------------- 1 | import EventPhase from "openfl/events/EventPhase"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | EventPhase", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (+EventPhase.CAPTURING_PHASE) { 11 | 12 | case EventPhase.CAPTURING_PHASE: 13 | case EventPhase.AT_TARGET: 14 | case EventPhase.BUBBLING_PHASE: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/events/IOErrorEventTest.ts: -------------------------------------------------------------------------------- 1 | import IOErrorEvent from "openfl/events/IOErrorEvent"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | IOErrorEvent", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var ioErrorEvent = new IOErrorEvent (IOErrorEvent.IO_ERROR); 13 | assert.notEqual (ioErrorEvent, null); 14 | 15 | }); 16 | 17 | 18 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/events/UncaughtErrorEventsTest.ts: -------------------------------------------------------------------------------- 1 | import UncaughtErrorEvents from "openfl/events/UncaughtErrorEvents"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | UncaughtErrorEvents", function () { 6 | 7 | 8 | it ("new", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var uncaughtErrorEvents = new UncaughtErrorEvents (); 13 | 14 | assert.notEqual (uncaughtErrorEvents, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/geom/Orientation3DTest.ts: -------------------------------------------------------------------------------- 1 | import Orientation3D from "openfl/geom/Orientation3D"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | Orientation", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+Orientation3D.AXIS_ANGLE) { 11 | 12 | case Orientation3D.AXIS_ANGLE: 13 | case Orientation3D.EULER_ANGLES: 14 | case Orientation3D.QUATERNION: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/system/SecurityDomainTest.ts: -------------------------------------------------------------------------------- 1 | import SecurityDomain from "openfl/system/SecurityDomain"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | SecurityDomain", function () { 6 | 7 | 8 | it ("currentDomain", function () { 9 | 10 | // TODO: Confirm functionality 11 | 12 | var exists = SecurityDomain.currentDomain; 13 | 14 | assert.notEqual (exists, null); 15 | 16 | }); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/text/AntiAliasTypeTest.ts: -------------------------------------------------------------------------------- 1 | import AntiAliasType from "openfl/text/AntiAliasType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | AntiAliasType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+AntiAliasType.ADVANCED) { 11 | 12 | case AntiAliasType.ADVANCED: 13 | case AntiAliasType.NORMAL: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/text/FontStyleTest.ts: -------------------------------------------------------------------------------- 1 | import FontStyle from "openfl/text/FontStyle"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | FontStyle", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+FontStyle.BOLD) { 11 | 12 | case FontStyle.BOLD: 13 | case FontStyle.BOLD_ITALIC: 14 | case FontStyle.ITALIC: 15 | case FontStyle.REGULAR: 16 | break; 17 | 18 | } 19 | 20 | }); 21 | 22 | 23 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/text/FontTypeTest.ts: -------------------------------------------------------------------------------- 1 | import FontType from "openfl/text/FontType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | FontType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+FontType.DEVICE) { 11 | 12 | case FontType.DEVICE: 13 | case FontType.EMBEDDED: 14 | case FontType.EMBEDDED_CFF: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/text/GridFitTypeTest.ts: -------------------------------------------------------------------------------- 1 | import GridFitType from "openfl/text/GridFitType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | GridFitType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+GridFitType.NONE) { 11 | 12 | case GridFitType.NONE: 13 | case GridFitType.PIXEL: 14 | case GridFitType.SUBPIXEL: 15 | break; 16 | 17 | } 18 | 19 | }); 20 | 21 | 22 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/text/TextFieldTypeTest.ts: -------------------------------------------------------------------------------- 1 | import TextFieldType from "openfl/text/TextFieldType"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | TextFieldType", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+TextFieldType.DYNAMIC) { 11 | 12 | case TextFieldType.DYNAMIC: 13 | case TextFieldType.INPUT: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/ui/KeyboardTest.ts: -------------------------------------------------------------------------------- 1 | import Keyboard from "openfl/ui/Keyboard"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | Keyboard", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | var exists = Keyboard.A; 11 | 12 | assert.notEqual (exists, null); 13 | 14 | }); 15 | 16 | 17 | }); -------------------------------------------------------------------------------- /test/typescript/openfl/utils/EndianTest.ts: -------------------------------------------------------------------------------- 1 | import Endian from "openfl/utils/Endian"; 2 | var assert = chai.assert; 3 | 4 | 5 | describe ("TypeScript | Endian", function () { 6 | 7 | 8 | it ("test", function () { 9 | 10 | switch (""+Endian.BIG_ENDIAN) { 11 | 12 | case Endian.BIG_ENDIAN: 13 | case Endian.LITTLE_ENDIAN: 14 | break; 15 | 16 | } 17 | 18 | }); 19 | 20 | 21 | }); -------------------------------------------------------------------------------- /test/typescript/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "baseUrl": ".", 5 | "paths": { 6 | "openfl": ["../../lib/openfl/index.js"], 7 | "openfl/*": ["../../lib/openfl/*"] 8 | }, 9 | "lib": [ "dom", "es2017" ], 10 | "sourceMap": true 11 | }, 12 | "include": [ 13 | "./**/*.ts" 14 | ] 15 | } --------------------------------------------------------------------------------