| Package | net.guttershark.preloading |
| Class | public class Asset |
See also
| Property | Defined by | ||
|---|---|---|---|
| data : *
The data for this asset after the asset has been loaded.
| Asset | ||
| fileType : String
The file type of this asset.
| Asset | ||
| libraryName : String
The identifier to use in an AssetLibrary.
| Asset | ||
| source : String
The URI to the file to load.
| Asset | ||
| Method | Defined by | ||
|---|---|---|---|
|
Asset(source:String, libraryName:String = null, forceAssetType:String = null)
Constructor for Asset instances.
| Asset | ||
| data | property |
public var data:*The data for this asset after the asset has been loaded.
This will be a reference to the loader that was used in loading the data.
| fileType | property |
public var fileType:StringThe file type of this asset. This will be a file extension less the period (jpg).
| libraryName | property |
public var libraryName:StringThe identifier to use in an AssetLibrary.
See also
| source | property |
public var source:StringThe URI to the file to load.
| Asset | () | constructor |
public function Asset(source:String, libraryName:String = null, forceAssetType:String = null)Constructor for Asset instances.
Parameterssource:String — The source URL to the asset
|
|
libraryName:String (default = null) — The name to be used in an AssetLibrary
|
|
forceAssetType:String (default = null) |
— If the filetype couldn't be figured out from the source property.
|