Creates a new ResizeEvent.
Indicates if event will bubble.
The object the event is currently bubbling at.
Arbitrary data that is attached to the event.
The updated height of the player.
The object that dispatched the event.
A string that identifies the event.
The updated width of the player.
Event type for a display object that is added to a parent.
Event type for a display object that is added to the stage
An event type to be utilized in custom events. Not used by Starling right now.
An event type to be utilized in custom events. Not used by Starling right now.
An event type to be utilized in custom events. Not used by Starling right now.
Event type that may be used whenever something finishes.
Event type for a (re)created stage3D rendering context.
Event type for a display object that is entering a new frame.
Event type that is dispatched by the Starling instance when it encounters a problem from which it cannot recover, e.g. a lost device context.
Event type that is dispatched by the AssetManager when a file/url cannot be loaded.
An event type to be utilized in custom events. Not used by Starling right now.
Event type that is dispatched by the AssetManager when an xml or json file couldn't be parsed.
An event type to be utilized in custom events. Not used by Starling right now.
Event type for a display object that is removed from its parent.
Event type for a display object that is removed from the stage.
Event type for an animated object that requests to be removed from the juggler.
Event type that is dispatched by the Starling instance directly before rendering.
Event type for a resized Flash player.
Event type that indicates that the root DisplayObject has been created.
An event type to be utilized in custom events. Not used by Starling right now.
Event type that is dispatched by the AssetManager when a file/url cannot be loaded.
An event type to be utilized in custom events. Not used by Starling right now.
Event type that is dispatched by the AssetManager after a context loss.
Event type for a triggered button.
An event type to be utilized in custom events. Not used by Starling right now.
Prevents any other listeners from receiving the event.
Prevents listeners at the next bubble stage from receiving the event.
Returns a description of the event, containing type and bubble information.
Generated using TypeDoc
A ResizeEvent is dispatched by the stage when the size of the Flash container changes. Use it to update the Starling viewport and the stage size.
The event contains properties containing the updated width and height of the Flash player. If you want to scale the contents of your stage to fill the screen, update the
Starling.current.viewPort
rectangle accordingly. If you want to make use of the additional screen estate, update the values ofstage.stageWidth
andstage.stageHeight
as well.@see starling.display.Stage @see starling.core.Starling