Packageorg.puremvc.as3.utilities.loadup
Classpublic class Loadup

The Loadup utility (LU) offers a solution to the problem of how to manage the loading of data resources, be that at application startup or at some other time in the duration of the application. By resources, we mean data resources or resources that conform to the resource model adopted by LU. This is the essential LU facility, the kernel, implemented by the classes in the controller, interfaces and model packages. These are independent of the assetloader package, which is an optional sub-system. This kernel is based around the LoadupMonitorProxy class. See that class for the primary documentation of the LU kernel.

The assetloader sub-system offers a solution to the loading of external assets, for example display assets. It uses the LU kernel just as a client application would. The general idea is

One way to become familiar with this sub-system is as follows



Public Constants
 ConstantDefined by
  ASSET_GROUP_LOAD_PROGRESS : String = "luAssetGroupLoadProgress"
[static] Loadup asset loader: Notifications to Client App
Loadup
  ASSET_LOADED : String = "luAssetLoaded"
[static] Loadup asset loader: Notifications to LU Core and available to Client App
Loadup
  ASSET_LOAD_FAILED : String = "luAssetLoadFailed"
[static]
Loadup
  ASSET_LOAD_FAILED_IOERROR : String = "luAsetLoadFailedIOError"
[static]
Loadup
  ASSET_LOAD_FAILED_SECURITY : String = "luAsetLoadFailedSecurity"
[static]
Loadup
  AUDIO_ASSET_TYPE : String = "luAudioAssetType"
[static]
Loadup
  CALL_OUT_OF_SYNC_IGNORED : String = "luCallOutOfSyncIgnored"
[static]
Loadup
  IMAGE_ASSET_TYPE : String = "luImageAssetType"
[static] Loadup asset loader: Asset Type constants
Loadup
  LOADING_COMPLETE : String = "luLoadingComplete"
[static]
Loadup
  LOADING_FINISHED_INCOMPLETE : String = "luLoadingFinishedIncomplete"
[static]
Loadup
  LOADING_PROGRESS : String = "luLoadingProgress"
[static] Loadup core: Notifications to Client App
Loadup
  LOAD_RESOURCE_TIMED_OUT : String = "luLoadResourceTimedOut"
[static]
Loadup
  NEW_ASSET_AVAILABLE : String = "luNewAssetAvailable"
[static]
Loadup
  PREFIX_IF_AUTO_LRP_NAME : String = "luLR_"
[static] See LoadupMonitorProxy class
Loadup
  RETRYING_LOAD_RESOURCE : String = "luRetryingLoadResource"
[static]
Loadup
  SWF_ASSET_TYPE : String = "luSwfAssetType"
[static]
Loadup
  TEXT_ASSET_TYPE : String = "luTextAssetType"
[static]
Loadup
  URL_REFUSED_PROXY_NAME_ALREADY_EXISTS : String = "luUrlRefusedProxyNameAlreadyExists"
[static]
Loadup
  VIDEO_ASSET_TYPE : String = "luVideoAssetType"
[static]
Loadup
  WAITING_FOR_MORE_RESOURCES : String = "luWaitingForMoreResources"
[static]
Loadup
Constant detail
ASSET_GROUP_LOAD_PROGRESSconstant
public static const ASSET_GROUP_LOAD_PROGRESS:String = "luAssetGroupLoadProgress"

Loadup asset loader: Notifications to Client App

ASSET_LOADEDconstant 
public static const ASSET_LOADED:String = "luAssetLoaded"

Loadup asset loader: Notifications to LU Core and available to Client App

ASSET_LOAD_FAILEDconstant 
public static const ASSET_LOAD_FAILED:String = "luAssetLoadFailed"
ASSET_LOAD_FAILED_IOERRORconstant 
public static const ASSET_LOAD_FAILED_IOERROR:String = "luAsetLoadFailedIOError"
ASSET_LOAD_FAILED_SECURITYconstant 
public static const ASSET_LOAD_FAILED_SECURITY:String = "luAsetLoadFailedSecurity"
AUDIO_ASSET_TYPEconstant 
public static const AUDIO_ASSET_TYPE:String = "luAudioAssetType"
CALL_OUT_OF_SYNC_IGNOREDconstant 
public static const CALL_OUT_OF_SYNC_IGNORED:String = "luCallOutOfSyncIgnored"
IMAGE_ASSET_TYPEconstant 
public static const IMAGE_ASSET_TYPE:String = "luImageAssetType"

Loadup asset loader: Asset Type constants

LOADING_COMPLETEconstant 
public static const LOADING_COMPLETE:String = "luLoadingComplete"
LOADING_FINISHED_INCOMPLETEconstant 
public static const LOADING_FINISHED_INCOMPLETE:String = "luLoadingFinishedIncomplete"
LOADING_PROGRESSconstant 
public static const LOADING_PROGRESS:String = "luLoadingProgress"

Loadup core: Notifications to Client App

LOAD_RESOURCE_TIMED_OUTconstant 
public static const LOAD_RESOURCE_TIMED_OUT:String = "luLoadResourceTimedOut"
NEW_ASSET_AVAILABLEconstant 
public static const NEW_ASSET_AVAILABLE:String = "luNewAssetAvailable"
PREFIX_IF_AUTO_LRP_NAMEconstant 
public static const PREFIX_IF_AUTO_LRP_NAME:String = "luLR_"

See LoadupMonitorProxy class

RETRYING_LOAD_RESOURCEconstant 
public static const RETRYING_LOAD_RESOURCE:String = "luRetryingLoadResource"
SWF_ASSET_TYPEconstant 
public static const SWF_ASSET_TYPE:String = "luSwfAssetType"
TEXT_ASSET_TYPEconstant 
public static const TEXT_ASSET_TYPE:String = "luTextAssetType"
URL_REFUSED_PROXY_NAME_ALREADY_EXISTSconstant 
public static const URL_REFUSED_PROXY_NAME_ALREADY_EXISTS:String = "luUrlRefusedProxyNameAlreadyExists"
VIDEO_ASSET_TYPEconstant 
public static const VIDEO_ASSET_TYPE:String = "luVideoAssetType"
WAITING_FOR_MORE_RESOURCESconstant 
public static const WAITING_FOR_MORE_RESOURCES:String = "luWaitingForMoreResources"