Package | com.gestureworks.cml.loaders |
Class | public class CSSLoader |
Inheritance | CSSLoader ![]() |
See also
Property | Defined By | ||
---|---|---|---|
_data : StyleSheet | CSSLoader | ||
data : StyleSheet [read-only]
Contains the loaded data
| CSSLoader | ||
isLoaded : Boolean [read-only]
Returns true if the file is loaded
| CSSLoader | ||
loader : URLLoader [read-only]
Contains the loader
| CSSLoader | ||
percentLoaded : Number [read-only]
Returns the percentage loaded value
| CSSLoader | ||
src : String
Sets the file source path
| CSSLoader |
Method | Defined By | ||
---|---|---|---|
CSSLoader(enforcer:SingletonEnforcer)
Constructor
| CSSLoader | ||
getInstance(key:*):CSSLoader [static]
Returns an instance of the CMLLoader class
| CSSLoader | ||
load(url:String):void
Loads an external XML file
| CSSLoader | ||
loadStyle(url:String):void Deprecated: Please Use load | CSSLoader |
Constant | Defined By | ||
---|---|---|---|
COMPLETE : String = COMPLETE [static]
The COMPLETE string is dispatched when the file has loaded. | CSSLoader |
_data | property |
public var _data:StyleSheet
data | property |
data:StyleSheet
[read-only] Contains the loaded data
public function get data():StyleSheet
isLoaded | property |
isLoaded:Boolean
[read-only] Returns true if the file is loaded
public function get isLoaded():Boolean
loader | property |
loader:URLLoader
[read-only] Contains the loader
public function get loader():URLLoader
percentLoaded | property |
percentLoaded:Number
[read-only] Returns the percentage loaded value
public function get percentLoaded():Number
src | property |
src:String
Sets the file source path
public function get src():String
public function set src(value:String):void
CSSLoader | () | Constructor |
public function CSSLoader(enforcer:SingletonEnforcer)
Constructor
Parametersenforcer:SingletonEnforcer |
getInstance | () | method |
public static function getInstance(key:*):CSSLoader
Returns an instance of the CMLLoader class
Parameters
key:* |
CSSLoader — |
load | () | method |
public function load(url:String):void
Loads an external XML file
Parameters
url:String |
loadStyle | () | method |
COMPLETE | Constant |
public static const COMPLETE:String = COMPLETE
The COMPLETE string is dispatched when the file has loaded.