Package | com.gestureworks.cml.managers |
Class | public class FileManager |
Inheritance | FileManager ![]() |
The FileManager is used by the CMLParser to preload external files. It supports the following file types:
See also
Property | Defined By | ||
---|---|---|---|
audioType : RegExp [static] | FileManager | ||
cml : LoaderMax [static] | FileManager | ||
cmlType : RegExp [static] | FileManager | ||
css : LoaderMax [static] | FileManager | ||
cssType : RegExp [static] | FileManager | ||
debug : Boolean = false [static]
Turns on the debug information
| FileManager | ||
fileCount : Number [static] [read-only] | FileManager | ||
fileList : LinkedMap [static] | FileManager | ||
fileTypes : RegExp [static] | FileManager | ||
imageType : RegExp [static] | FileManager | ||
libraryTypes : RegExp [static] | FileManager | ||
media : LoaderMax [static] | FileManager | ||
mediaPreloadTypes : RegExp [static] | FileManager | ||
mediaTypes : RegExp [static] | FileManager | ||
mp3Type : RegExp [static] | FileManager | ||
swcType : RegExp [static] | FileManager | ||
swf : LoaderMax [static] | FileManager | ||
swfType : RegExp [static] | FileManager | ||
videoType : RegExp [static] | FileManager |
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [static] | FileManager | ||
append(file:String):LoaderCore [static]
Appends to file queue
| FileManager | ||
dispatchEvent(event:Event):Boolean [static] | FileManager | ||
hasEventListener(type:String):Boolean [static] | FileManager | ||
hasFile(file:String):Boolean [static] | FileManager | ||
init():void [static]
| FileManager | ||
isCML(file:String):Boolean [static]
Returns true if the given file path is a cml type
| FileManager | ||
isCSS(file:String):Boolean [static]
Returns true if the given file path is a cml type
| FileManager | ||
isLibrary(file:String):Boolean [static]
Returns true if the given file path is a library type
| FileManager | ||
isMedia(file:String):Boolean [static]
Returns true if the given file path is a media type
| FileManager | ||
isPreloadMedia(file:String):Boolean [static]
Returns true if the given file path is a preloaded media type
| FileManager | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [static] | FileManager | ||
willTrigger(type:String):Boolean [static] | FileManager |
audioType | property |
public static var audioType:RegExp
cml | property |
public static var cml:LoaderMax
cmlType | property |
public static var cmlType:RegExp
css | property |
public static var css:LoaderMax
cssType | property |
public static var cssType:RegExp
debug | property |
public static var debug:Boolean = false
Turns on the debug information
fileCount | property |
fileCount:Number
[read-only] public static function get fileCount():Number
fileList | property |
public static var fileList:LinkedMap
fileTypes | property |
public static var fileTypes:RegExp
imageType | property |
public static var imageType:RegExp
libraryTypes | property |
public static var libraryTypes:RegExp
media | property |
public static var media:LoaderMax
mediaPreloadTypes | property |
public static var mediaPreloadTypes:RegExp
mediaTypes | property |
public static var mediaTypes:RegExp
mp3Type | property |
public static var mp3Type:RegExp
swcType | property |
public static var swcType:RegExp
swf | property |
public static var swf:LoaderMax
swfType | property |
public static var swfType:RegExp
videoType | property |
public static var videoType:RegExp
addEventListener | () | method |
public static function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
| |
priority:int (default = 0 )
| |
useWeakReference:Boolean (default = false )
|
append | () | method |
public static function append(file:String):LoaderCore
Appends to file queue
Parameters
file:String — - file name
|
LoaderCore |
dispatchEvent | () | method |
public static function dispatchEvent(event:Event):Boolean
Parameters
event:Event |
Boolean |
hasEventListener | () | method |
public static function hasEventListener(type:String):Boolean
Parameters
type:String |
Boolean |
hasFile | () | method |
public static function hasFile(file:String):Boolean
Parameters
file:String |
Boolean |
init | () | method |
public static function init():void
isCML | () | method |
public static function isCML(file:String):Boolean
Returns true if the given file path is a cml type
Parameters
file:String |
Boolean |
isCSS | () | method |
public static function isCSS(file:String):Boolean
Returns true if the given file path is a cml type
Parameters
file:String |
Boolean |
isLibrary | () | method |
public static function isLibrary(file:String):Boolean
Returns true if the given file path is a library type
Parameters
file:String |
Boolean |
isMedia | () | method |
public static function isMedia(file:String):Boolean
Returns true if the given file path is a media type
Parameters
file:String |
Boolean |
isPreloadMedia | () | method |
public static function isPreloadMedia(file:String):Boolean
Returns true if the given file path is a preloaded media type
Parameters
file:String |
Boolean |
removeEventListener | () | method |
public static function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
|
willTrigger | () | method |
public static function willTrigger(type:String):Boolean
Parameters
type:String |
Boolean |