| Package | com.acleveraddress.net.multi_loader.data |
| Class | public class MultiLoaderTypes |
| Property | Defined by | ||
|---|---|---|---|
| image_types : Array [static]
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension.
| MultiLoaderTypes | ||
| sound_types : Array [static]
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension.
| MultiLoaderTypes | ||
| swf_types : Array [static]
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension.
| MultiLoaderTypes | ||
| text_types : Array [static]
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension.
| MultiLoaderTypes | ||
| video_types : Array [static]
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension.
| MultiLoaderTypes | ||
| xml_types : Array [static]
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension.
| MultiLoaderTypes | ||
| Method | Defined by | ||
|---|---|---|---|
|
getType(url:String):String
[static]
Tries to establish the item type from its URL.
| MultiLoaderTypes | ||
| Constant | Defined by | ||
|---|---|---|---|
| IMAGE : String = "image" [static]
Items with type set to MultiLoaderTypes.IMAGE will be loaded as a MultiLoaderImageItem
| MultiLoaderTypes | ||
| SOUND : String = "audio" [static]
Items with type set to MultiLoaderTypes.SOUND will be loaded as a MultiLoaderSoundItem
| MultiLoaderTypes | ||
| SWF : String = "swf" [static]
Items with type set to MultiLoaderTypes.SWF will be loaded as a MultiLoaderSWFItem
| MultiLoaderTypes | ||
| TEXT : String = "text" [static]
Items with type set to MultiLoaderTypes.TEXT will be loaded as a MultiLoaderTextItem
| MultiLoaderTypes | ||
| VIDEO : String = "video" [static]
Items with type set to MultiLoaderTypes.VIDEO will be loaded as a MultiLoaderVideoItem
| MultiLoaderTypes | ||
| XML : String = "xml" [static]
Items with type set to MultiLoaderTypes.XML will be loaded as a MultiLoaderXMLItem
| MultiLoaderTypes | ||
| image_types | property |
public static var image_types:Array
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension. The following is the list of the image extensions which it knows. It's
just an array so you may push() or splice() as required if you want to update this list.
It's far better practice to specify the type when adding the item, though.
| sound_types | property |
public static var sound_types:Array
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension. The following is the list of the audio extensions which it knows. It's
just an array so you may push() or splice() as required if you want to update this list.
It's far better practice to specify the type when adding the item, though.
| swf_types | property |
public static var swf_types:Array
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension. The following is the list of the swf extensions which it knows. It's
just an array so you may push() or splice() as required if you want to update this list.
It's far better practice to specify the type when adding the item, though.
| text_types | property |
public static var text_types:Array
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension. The following is the list of the text extensions which it knows. It's
just an array so you may push() or splice() as required if you want to update this list.
It's far better practice to specify the type when adding the item, though.
| video_types | property |
public static var video_types:Array
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension. The following is the list of the video extensions which it knows. It's
just an array so you may push() or splice() as required if you want to update this list.
It's far better practice to specify the type when adding the item, though.
| xml_types | property |
public static var xml_types:Array
If you don't specify the type of file which is loading, MultiLoader will try to guess
from the file extension. The following is the list of the xml extensions which it knows. It's
just an array so you may push() or splice() as required if you want to update this list.
It's far better practice to specify the type when adding the item, though.
| getType | () | method |
public static function getType(url:String):StringTries to establish the item type from its URL. Returns a MultiLoaderTypes constant
Parametersurl:String |
String |
See also
| IMAGE | constant |
public static const IMAGE:String = "image"Items with type set to MultiLoaderTypes.IMAGE will be loaded as a MultiLoaderImageItem
See also
| SOUND | constant |
public static const SOUND:String = "audio"Items with type set to MultiLoaderTypes.SOUND will be loaded as a MultiLoaderSoundItem
See also
| SWF | constant |
public static const SWF:String = "swf"Items with type set to MultiLoaderTypes.SWF will be loaded as a MultiLoaderSWFItem
See also
| TEXT | constant |
public static const TEXT:String = "text"Items with type set to MultiLoaderTypes.TEXT will be loaded as a MultiLoaderTextItem
See also
| VIDEO | constant |
public static const VIDEO:String = "video"Items with type set to MultiLoaderTypes.VIDEO will be loaded as a MultiLoaderVideoItem
See also
| XML | constant |
public static const XML:String = "xml"Items with type set to MultiLoaderTypes.XML will be loaded as a MultiLoaderXMLItem
See also