PackageTop Level
Classpublic class SekatiPreloader
InheritanceSekatiPreloader Inheritance DocumentPreloader Inheritance flash.display.Sprite

SekatiPreloader provides an example implementation of DocumentPreloader for SEKATI API.

See also

sekati.display.DocumentPreloader


Public Properties
 PropertyDefined by
 InheritedAPPLICATION_URI : String
[static] The API Application SWF URI to be loaded (ascertained from the config.xml).
DocumentPreloader
  bar : Rect
SekatiPreloader
  bg : Rect
SekatiPreloader
 InheritedbytesLoaded : Number
The number of loaded bytes of the Application SWF.
DocumentPreloader
 InheritedbytesTotal : Number
The number of total bytes of the Application SWF.
DocumentPreloader
 InheritedCONF_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
 Inheritedpercent : Number
The percentage (0 - 1 scale) of the Application SWF currently loaded.
DocumentPreloader
Protected Properties
 PropertyDefined by
 InheritedintroComplete : Boolean
Property set by initUIIntro() when the intro sequence completes.
DocumentPreloader
 InheritedoutroComplete : Boolean
Property set by initUIOutro() when the outro sequence completes.
DocumentPreloader
Public Methods
 MethodDefined by
  
SekatiPreloader Constructor
SekatiPreloader
Protected Methods
 MethodDefined by
 Inherited
applicationHandler(e:Event):void
The API Appliction SWF has been loaded; wait for notification from initUIOutro to set outroComplete.
DocumentPreloader
 Inherited
configHandler(e:Event):void
The config.xml has loaded; wait for notification from initUIIntro to set introComplete.
DocumentPreloader
 Inherited
Initialize the loaded API Application SWF.
DocumentPreloader
 Inherited
Load the API Application SWF.
DocumentPreloader
 Inherited
initDocumentPreloader(e:Event = null):void
Initializes the preloader and movie properties when the stage becomes available.
DocumentPreloader
 Inherited
Initializes SWF movie properties.
DocumentPreloader
 Inherited
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
Property detail
barproperty
public var bar:Rect
bgproperty 
public var bg:Rect
containerproperty 
public var container:CoreSprite
Constructor detail
SekatiPreloader()constructor
public function SekatiPreloader()

SekatiPreloader Constructor

Method detail
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):void

API Application SWF progress handler.

Customization: Override this method to execute any custom code to visualize progress in your preloader.

Parameters
e:ProgressEvent
resize()method 
protected override function resize(e:Event = null):void

Stub function to invoke upon a stage resize.

Customization: Override this method to execute any custom resize logic as the API has yet to initialize.

Parameters
e:Event (default = null)