Package | Top Level |
Class | public class SekatiMain |
Inheritance | SekatiMain Document Canvas CoreSprite flash.display.Sprite |
SekatiMain
provides an example implementation of the application Document
class for SEKATI API.
See also
Method | Defined by | ||
---|---|---|---|
SekatiMain Application Constructor
| SekatiMain | ||
addChildren(... args):void
Add multiple child
DisplayObject 's. | CoreSprite | ||
destroy():void
Clean up after thy self.
| CoreSprite | ||
toString():String
Return reflective output.
| CoreSprite |
Method | Defined by | ||
---|---|---|---|
documentHandler(e:BootstrapEvent):void
The SWF has been fully loaded: removed the
ApplicationLoader & execute
Document setup code: initTweenEngine() & initAPI() . | Document | ||
entryPointHandler(e:BootstrapEvent):void
The Application API has been fully initialized; remove the
Bootstrap &
call initEntryPoint . | Document | ||
initAPI(hasBootstrap:Boolean = true):void
Initialize the API
Bootstrap queued core initialization routines. | SekatiMain | ||
initDocument(e:Event):void
Initialize the Document & update the
Canvas references. | Document | ||
initEntryPoint():void
Initialize Entry Point: all custom (non-API) application layer code enters.
| SekatiMain | ||
initMovieProperties():void
Initializes SWF movie properties &
StageDisplay . | SekatiMain | ||
initTweenEngine():void
Initialize
Tweener specialProperties shortcuts. | SekatiMain | ||
invalidate():void
Request a redraw, use for deferred rendering.
| CoreSprite | ||
offStage(e:Event = null):void
Stub: Sprite has been removed from stage.
| CoreSprite | ||
onStage(e:Event = null):void
Stub: Sprite has been added to stage.
| CoreSprite | ||
setReferences():void
Initialize or update the core
DisplayList reference properties. | Canvas |
SekatiMain | () | constructor |
public function SekatiMain()
SekatiMain Application Constructor
initAPI | () | method |
protected override function initAPI(hasBootstrap:Boolean = true):void
Initialize the API Bootstrap
queued core initialization routines.
hasBootstrap:Boolean (default = true ) — defines whether the Document initializes the API Bootstrap sequence or runs the API "dumb".
Customization: Override this method & adjust to point to your custom
|
initEntryPoint | () | method |
protected override function initEntryPoint():void
Initialize Entry Point: all custom (non-API) application layer code enters.
Customization: When implementing the API you will most likely extend Document
as your Document Class
overriding initEntryPoint
to instantiate your manager,
ui & other core classes.
initMovieProperties | () | method |
protected override function initMovieProperties():void
Initializes SWF movie properties & StageDisplay
.
Customization: Override this method & adjust to fit your application specification.
Be sure to either call super.initMovieProperties()
or
StageDisplay.$.init()
to initialize stage management.
initTweenEngine | () | method |
protected override function initTweenEngine():void
Initialize Tweener specialProperties
shortcuts.
Customization: When overriding this method only init the shortcuts needed by your application to minimize memory usage.