Packagecom.gestureworks.cml.loaders
Classpublic class IMGLoader
InheritanceIMGLoader Inheritance LoaderFactory Inheritance flash.events.EventDispatcher

The IMGLoader class loads an external bitmap file.

See also

com.gestureworks.element.Image


Public Properties
 PropertyDefined By
 Inheriteddata : *
[read-only] Contains the loader
LoaderFactory
 InheritedisLoaded : Boolean
[read-only] Returns true if the file is loaded
LoaderFactory
 Inheritedloader : *
[read-only] Contains the loader
LoaderFactory
 InheritedpercentLoaded : Number
[read-only] Returns the percentage loaded value
LoaderFactory
 Inheritedsrc : String
Sets the file source path
LoaderFactory
Protected Properties
 PropertyDefined By
 Inherited_data : *
LoaderFactory
 Inherited_isLoaded : Boolean = false
LoaderFactory
 Inherited_loader : *
LoaderFactory
 Inherited_percentLoaded : Number
LoaderFactory
 Inherited_src : String
LoaderFactory
 InheritedurlRequest : URLRequest
LoaderFactory
Public Methods
 MethodDefined By
  
Constructor
IMGLoader
 Inherited
load(url:String):void
Loads an external bitmap file
LoaderFactory
 Inherited
Unloads and stops current loading process
LoaderFactory
Protected Methods
 MethodDefined By
  
onComplete(e:Event):void
[override]
IMGLoader
 Inherited
onError(e:IOErrorEvent):void
LoaderFactory
 Inherited
onProgress(e:ProgressEvent):void
LoaderFactory
Public Constants
 ConstantDefined By
  COMPLETE : String = COMPLETE
[static] The COMPLETE string is dispatched when the file has loaded.
IMGLoader
Constructor Detail
IMGLoader()Constructor
public function IMGLoader()

Constructor

Method Detail
onComplete()method
override protected function onComplete(e:Event):void

Parameters

e:Event

Constant Detail
COMPLETEConstant
public static const COMPLETE:String = COMPLETE

The COMPLETE string is dispatched when the file has loaded.