Packagecom.gestureworks.cml.loaders
Classpublic class SWFLoader
InheritanceSWFLoader Inheritance LoaderFactory Inheritance flash.events.EventDispatcher

The SWFLoader class loads an external SWF file.

See also

com.gestureworks.element.SWF


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
SWFLoader
  
load(url:String):void
[override] Loads an external swf file
SWFLoader
 Inherited
Unloads and stops current loading process
LoaderFactory
Protected Methods
 MethodDefined By
  
onComplete(e:Event):void
[override]
SWFLoader
 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.
SWFLoader
Constructor Detail
SWFLoader()Constructor
public function SWFLoader()

Constructor

Method Detail
load()method
override public function load(url:String):void

Loads an external swf file

Parameters

url:String

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.