Creates a new AssetLibrary
object.
Short-hand for conflictPrecedence property on default asset library bundle.
Short-hand for conflictPrecedence property on default asset library bundle.
Short-hand for conflictStrategy property on default asset library bundle.
Short-hand for conflictStrategy property on default asset library bundle.
Short-hand for addAsset() method on default asset library bundle.
Short-hand for addEventListener() method on default asset library bundle.
Short-hand for createIterator() method on default asset library bundle.
Short-hand for getAsset() method on default asset library bundle.
Short-hand for getAsset() method on default asset library bundle.
Returns an AssetLibrary bundle instance. If no key is given, returns the default bundle (which is similar to using the AssetLibraryBundle as a singleton). To keep several separated library bundles, pass a string key to this method to define which bundle should be returned. This is referred to as using the AssetLibraryBundle as a multiton.
Defines which multiton instance should be returned.
An instance of the asset library
Short-hand for load() method on default asset library bundle.
Short-hand for loadData() method on default asset library bundle.
Short-hand for removeAllAssets() method on default asset library bundle.
Defines whether the assets should also be disposed.
Short-hand for removeAsset() method on default asset library bundle.
The asset which should be removed from the library.
Defines whether the assets should also be disposed.
Short-hand for removeAssetByName() method on default asset library bundle.
The name of the asset to be removed.
The namespace to which the desired asset belongs.
Defines whether the assets should also be disposed.
Short-hand for removeEventListener() method on default asset library bundle.
Short-hand for removeNamespaceAssets() method on default asset library bundle.
Generated using TypeDoc
AssetLibrary enforces a singleton pattern and is not intended to be instanced. It's purpose is to allow access to the default library bundle through a set of static shortcut methods. If you are interested in creating multiple library bundles, please use the
getBundle()
method.