Packagecom.jeffdePascale.fosfr.navigation.loaders
Classpublic class NavLoaderEvent
InheritanceNavLoaderEvent Inheritance flash.events.Event

Fosfr dispatches NavLoaderEvent objects during the loading process of classes that extend the NavLoaderPrototype class. There are four types of NavLoader Events:

See also

com.jeffdePascale.fosfr.navigation.loaders.NavLoaderPrototype
com.jeffdePascale.fosfr.navigation.loaders.ShellLoader
com.jeffdePascale.fosfr.navigation.loaders.SubLoader


Public Constants
 ConstantDefined by
  COMPLETE : String = "complete"
[static] The NavLoaderEvent.COMPLETE constant defines the value of the type property of the event object for a complete event.
NavLoaderEvent
  INIT : String = "init"
[static] The NavLoaderEvent.INIT constant defines the value of the type property of the event object for a init event.
NavLoaderEvent
  PRELOAD_COMPLETE : String = "preloadComplete"
[static] The NavLoaderEvent.PRELOAD_COMPLETE constant defines the value of the type property of the event object for a preloadComplete event.
NavLoaderEvent
  PRELOAD_INIT : String = "preloadInit"
[static] The NavLoaderEvent.PRELOAD_INIT constant defines the value of the type property of the event object for a preloadInit event.
NavLoaderEvent
  UNLOAD : String = "unload"
[static] The NavLoaderEvent.UNLOAD constant defines the value of the type property of the event object for a unload event.
NavLoaderEvent
  UNLOAD_COMPLETE : String = "unloadComplete"
[static] The NavLoaderEvent.UNLOAD_COMPLETE constant defines the value of the type property of the event object for a unloadComplete event.
NavLoaderEvent
Constant detail
COMPLETEconstant
public static const COMPLETE:String = "complete"

The NavLoaderEvent.COMPLETE constant defines the value of the type property of the event object for a complete event.

The properties of the event object have the following values:

Property Value
type "complete"
bubbles A Boolean value.
cancelable A Boolean value.
id an int value specifying the ID of the SWF file in relation to the Navigation class's NavArray instance. If the file being loaded is a FosfrShellSWF file, the value is -1.
INITconstant 
public static const INIT:String = "init"

The NavLoaderEvent.INIT constant defines the value of the type property of the event object for a init event.

The properties of the event object have the following values:

Property Value
type "complete"
bubbles A Boolean value.
cancelable A Boolean value.
id an int value specifying the ID of the SWF file in relation to the Navigation class's NavArray instance. If the file being loaded is a FosfrShellSWF file, the value is -1.
PRELOAD_COMPLETEconstant 
public static const PRELOAD_COMPLETE:String = "preloadComplete"

The NavLoaderEvent.PRELOAD_COMPLETE constant defines the value of the type property of the event object for a preloadComplete event.

The properties of the event object have the following values:

Property Value
type "complete"
bubbles A Boolean value.
cancelable A Boolean value.
id an int value specifying the ID of the SWF file in relation to the Navigation class's NavArray instance. If the file being loaded is a FosfrShellSWF file, the value is -1.
PRELOAD_INITconstant 
public static const PRELOAD_INIT:String = "preloadInit"

The NavLoaderEvent.PRELOAD_INIT constant defines the value of the type property of the event object for a preloadInit event.

The properties of the event object have the following values:

Property Value
type "complete"
bubbles A Boolean value.
cancelable A Boolean value.
id an int value specifying the ID of the SWF file in relation to the Navigation class's NavArray instance. If the file being loaded is a FosfrShellSWF file, the value is -1.
UNLOADconstant 
public static const UNLOAD:String = "unload"

The NavLoaderEvent.UNLOAD constant defines the value of the type property of the event object for a unload event.

The properties of the event object have the following values:

Property Value
type "complete"
bubbles A Boolean value.
cancelable A Boolean value.
UNLOAD_COMPLETEconstant 
public static const UNLOAD_COMPLETE:String = "unloadComplete"

The NavLoaderEvent.UNLOAD_COMPLETE constant defines the value of the type property of the event object for a unloadComplete event.

The properties of the event object have the following values:

Property Value
type "complete"
bubbles A Boolean value.
cancelable A Boolean value.