| Package | Top Level |
| Class | public class SekatiPreloader |
| Inheritance | SekatiPreloader DocumentPreloader flash.display.Sprite |
SekatiPreloader provides an example implementation of DocumentPreloader for SEKATI API.
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | APPLICATION_URI : String [static]
The API Application SWF URI to be loaded (ascertained from the
config.xml). | DocumentPreloader | |
| bar : Rect | SekatiPreloader | ||
| bg : Rect | SekatiPreloader | ||
![]() | bytesLoaded : Number
The number of loaded bytes of the Application SWF.
| DocumentPreloader | |
![]() | bytesTotal : Number
The number of total bytes of the Application SWF.
| DocumentPreloader | |
![]() | CONF_URI : String [static]
The
config.xml location used by the DocumentPreloader and Document
passed via FlashVars or defaulting to xml/config.xml. | DocumentPreloader | |
| container : CoreSprite | SekatiPreloader | ||
![]() | percent : Number
The percentage (
0 - 1 scale) of the Application SWF currently loaded. | DocumentPreloader | |
| Method | Defined by | ||
|---|---|---|---|
|
SekatiPreloader Constructor
| SekatiPreloader | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
applicationHandler(e:Event):void
The API Appliction SWF has been loaded; wait for notification from
initUIOutro to set outroComplete. | DocumentPreloader | |
![]() |
configHandler(e:Event):void
The
config.xml has loaded; wait for notification from initUIIntro to set introComplete. | DocumentPreloader | |
![]() |
initApplication():void
Initialize the loaded API Application SWF.
| DocumentPreloader | |
![]() |
initApplicationLoader():void
Load the API Application SWF.
| DocumentPreloader | |
![]() |
initDocumentPreloader(e:Event = null):void
Initializes the preloader and movie properties when the stage becomes available.
| DocumentPreloader | |
![]() |
initMovieProperties():void
Initializes SWF movie properties.
| DocumentPreloader | |
![]() |
initPreloader(e:Event = null):void
Initialize the Document Preloader UI & load the
config.xml (invoked when the preloader SWF itself is done loading). | DocumentPreloader | |
|
initUIIntro():void
Modify our implementation to add some sequenced UI elements.
| SekatiPreloader | ||
|
initUIOutro():void
Modify our implementation to remove the UI elements before application handoff.
| SekatiPreloader | ||
|
progress(e:ProgressEvent):void
API Application SWF progress handler.
| SekatiPreloader | ||
|
resize(e:Event = null):void
Stub function to invoke upon a stage resize.
| SekatiPreloader | ||
| bar | property |
public var bar:Rect
| bg | property |
public var bg:Rect
| container | property |
public var container:CoreSprite
| SekatiPreloader | () | constructor |
public function SekatiPreloader()SekatiPreloader Constructor
| initUIIntro | () | method |
protected override function initUIIntro():void
Modify our implementation to add some sequenced UI elements.
Initialize the preloader UI intro and set introComplete = true; when UI has completed build up.
Customization: Override this method to execute any custom intro code for a the visual preloader.
| initUIOutro | () | method |
protected override function initUIOutro():void
Modify our implementation to remove the UI elements before application handoff.
Initialize the preloader UI outro and set outroComplete = true; when UI has completed tear down.
Customization: Override this method to execute any custom outro code for a visual preloader.
| progress | () | method |
protected override function progress(e:ProgressEvent):voidAPI Application SWF progress handler.
Customization: Override this method to execute any custom code to visualize progress in your preloader.
Parameterse:ProgressEvent |
| resize | () | method |
protected override function resize(e:Event = null):voidStub function to invoke upon a stage resize.
Customization: Override this method to execute any custom resize logic as the API has yet to initialize.
Parameterse:Event (default = null) |