Extends
- Application
Members
instance MovieClip
The stage object created.
- Default Value:
- undefined
Reference to the global sound object
Methods
Destroy and don't use after calling.
Name | Type | Attributes | Description |
---|---|---|---|
removeView |
boolean |
<optional> |
Automatically remove canvas from DOM. |
stageOptions |
IDestroyOptions | boolean |
<optional> |
Options parameter. A boolean will act as if all options have been set to that value |
Load a stage scene and add it to the stage.
Name | Type | Attributes | Description |
---|---|---|---|
asset |
AnimateAsset |
Reference to the scene to load. |
|
complete |
(instance: MovieClip) => void |
<optional> |
Callback when finished loading. |
basePath |
string |
<optional> |
Optional base directory to prepend to assets. |