Static variables
Static methods
Constructor
Methods
getBitmapData(id:String):BitmapData
Retrieves a cached BitmapData.
Parameters:
id | The ID of the cached BitmapData |
---|
Returns:
The cached BitmapData instance
getFont(id:String):Font
Retrieves a cached Font.
Parameters:
id | The ID of the cached Font |
---|
Returns:
The cached Font instance
getSound(id:String):Sound
Retrieves a cached Sound.
Parameters:
id | The ID of the cached Sound |
---|
Returns:
The cached Sound instance
hasBitmapData(id:String):Bool
Checks whether a BitmapData asset is cached.
Parameters:
id | The ID of a BitmapData asset |
---|
Returns:
Whether the object has been cached
hasFont(id:String):Bool
Checks whether a Font asset is cached.
Parameters:
id | The ID of a Font asset |
---|
Returns:
Whether the object has been cached
hasSound(id:String):Bool
Checks whether a Sound asset is cached.
Parameters:
id | The ID of a Sound asset |
---|
Returns:
Whether the object has been cached
removeBitmapData(id:String):Bool
Removes a BitmapData from the cache.
Parameters:
id | The ID of a BitmapData asset |
---|
Returns:
true
if the asset was removed, false
if it was not in the cache
removeFont(id:String):Bool
Removes a Font from the cache.
Parameters:
id | The ID of a Font asset |
---|
Returns:
true
if the asset was removed, false
if it was not in the cache
removeSound(id:String):Bool
Removes a Sound from the cache.
Parameters:
id | The ID of a Sound asset |
---|
Returns:
true
if the asset was removed, false
if it was not in the cache