Packageorg.spicefactory.parsley.flash.resources.tag
Classpublic class ResourceManagerTag
InheritanceResourceManagerTag Inheritance Object

Represent the resource-manager XML tag.



Public Properties
 PropertyDefined By
  cacheable : Boolean = false
Indicates whether loaded bundles should be cached.
ResourceManagerTag
  id : String
The id of the ResourceManager in the Parsley Context.
ResourceManagerTag
  locales : Array
The supported locales.
ResourceManagerTag
  persistent : Boolean = false
Indicates whether the ResourceManager should store the last active locale in a Local Shared Object and restore it on the next application start.
ResourceManagerTag
  type : Class
The type of the ResourceManager implementation.
ResourceManagerTag
Public Methods
 MethodDefined By
  
Creates a new ResourceManager instance based on the properties of this tag class.
ResourceManagerTag
Property Detail
cacheableproperty
public var cacheable:Boolean = false

Indicates whether loaded bundles should be cached.

idproperty 
public var id:String

The id of the ResourceManager in the Parsley Context.

localesproperty 
public var locales:Array

The supported locales.

persistentproperty 
public var persistent:Boolean = false

Indicates whether the ResourceManager should store the last active locale in a Local Shared Object and restore it on the next application start.

typeproperty 
public var type:Class

The type of the ResourceManager implementation.

Method Detail
createResourceManager()method
public function createResourceManager():ResourceManagerSpi

Creates a new ResourceManager instance based on the properties of this tag class.

Returns
ResourceManagerSpi — a new ResourceManager instance