Variables

read onlydisplay:Display

read onlyelement:Element

Available on HTML5

frameRate:Float

The current frame rate (measured in frames-per-second) of the window.

On some platforms, a frame rate of 60 or greater may imply vsync, which will perform more quickly on displays with a higher refresh rate

height:Int

read onlyhidden:Bool

read onlyid:Int

read onlyonActivate:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonClose:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonDeactivate:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonDropFile:_Event_String_Void<String ‑> Void> = new Event<String>()

read onlyonEnter:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonExpose:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonFocusIn:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonFocusOut:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonFullscreen:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonKeyDown:_Event_lime_ui_KeyCode_lime_ui_KeyModifier_Void<KeyCode ‑> KeyModifier ‑> Void> = new Event<KeyCode -> KeyModifier>()

read onlyonKeyUp:_Event_lime_ui_KeyCode_lime_ui_KeyModifier_Void<KeyCode ‑> KeyModifier ‑> Void> = new Event<KeyCode -> KeyModifier>()

read onlyonLeave:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonMaximize:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonMinimize:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonMouseDown:_Event_Float_Float_lime_ui_MouseButton_Void<Float ‑> Float ‑> MouseButton ‑> Void> = new Event<Float -> Float -> MouseButton>()

read onlyonMouseMove:_Event_Float_Float_Void<Float ‑> Float ‑> Void> = new Event<Float -> Float>()

read onlyonMouseMoveRelative:_Event_Float_Float_Void<Float ‑> Float ‑> Void> = new Event<Float -> Float>()

read onlyonMouseUp:_Event_Float_Float_Int_Void<Float ‑> Float ‑> Int ‑> Void> = new Event<Float -> Float -> Int>()

read onlyonMouseWheel:_Event_Float_Float_lime_ui_MouseWheelMode_Void<Float ‑> Float ‑> MouseWheelMode ‑> Void> = new Event<Float -> Float -> MouseWheelMode>()

read onlyonMove:_Event_Float_Float_Void<Float ‑> Float ‑> Void> = new Event<Float -> Float>()

read onlyonRender:_Event_lime_graphics_RenderContext_Void<RenderContext ‑> Void> = new Event<RenderContext>()

read onlyonRenderContextLost:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonRenderContextRestored:_Event_lime_graphics_RenderContext_Void<RenderContext ‑> Void> = new Event<RenderContext>()

read onlyonResize:_Event_Int_Int_Void<Int ‑> Int ‑> Void> = new Event<Int -> Int>()

read onlyonRestore:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

read onlyonTextEdit:_Event_String_Int_Int_Void<String ‑> Int ‑> Int ‑> Void> = new Event<String -> Int -> Int>()

read onlyonTextInput:_Event_String_Void<String ‑> Void> = new Event<String>()

parameters:Dynamic

read onlyscale:Float

read onlystage:Stage

Available on Flash

title:String

width:Int

x:Int

y:Int

Methods

alert (?message:String, ?title:String):Void

close ():Void

focus ():Void

move (x:Int, y:Int):Void

resize (width:Int, height:Int):Void

setIcon (image:Image):Void

toString ():String

warpMouse (x:Int, y:Int):Void