Packagecom.gestureworks.cml.element
Classpublic class SWF
InheritanceSWF Inheritance ElementFactory Inheritance flash.display.Sprite
Subclasses SWFElement

The SWF element displays an external class from a SWF library file that has been loaded through a LibraryKit. It is meant to be used within CML. It provides little difference from native methods when using AS3.

See also

SWC


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
 Inheritedblur : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedbottom : Number
sets the bottom value
ElementFactory
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
sets the class name of displayobject
ElementFactory
  classRef : String
classRef loads a swf library class must be pre-loaded through the library kit
SWF
 InheritedcmlIndex : int
sets the cml index
ElementFactory
  color : Number
Sets element's color in hex
SWF
 InheriteddebugStyle : *
sets the debug style
ElementFactory
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheriteddropShadow : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedheight : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedheightPercent : String
sets the height percent of display object
ElementFactory
 InheritedhorizontalCenter : Number
sets the horizontal center of display object
ElementFactory
 Inheritedid : String
sets the id of child
ElementFactory
 Inheritedindex : int
sets the index of display object
ElementFactory
 Inheritedleft : Number
sets left value
ElementFactory
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
  ref : String
ref loads a swf library class must be pre-loaded through the library kit
SWF
 Inheritedright : Number
sets the right value
ElementFactory
 Inheritedscale : Number
Sets both the x and y scale values
ElementFactory
 InheritedscaleX : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedscaleY : Number
[override] Sets width of the display object in pixels
ElementFactory
  src : String
src loads a swf movie file
SWF
 Inheritedstate : Array
property states array
ElementFactory
 Inheritedtop : Number
sets top value
ElementFactory
 InheritedverticalCenter : Number
sets the vertical center of display object
ElementFactory
 Inheritedwidth : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedwidthPercent : String
sets the percent of width of display object
ElementFactory
Public Methods
 MethodDefined By
  
SWF()
Constructor
SWF
 Inherited
clone():*
Returns clone of self
ElementFactory
 Inherited
CML callback
ElementFactory
  
dispose():void
[override] Dispose method
SWF
  
init():void
[override] Initialisation method
SWF
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
 Inherited
postparseCML(cml:XMLList):void
post parses the cml file
ElementFactory
 Inherited
updateProperties(state:Number = 0):void
this method updates the properties
ElementFactory
Property Detail
classRefproperty
classRef:String

classRef loads a swf library class must be pre-loaded through the library kit


Implementation
    public function get classRef():String
    public function set classRef(value:String):void
colorproperty 
color:Number

Sets element's color in hex


Implementation
    public function get color():Number
    public function set color(value:Number):void
refproperty 
ref:String

ref loads a swf library class must be pre-loaded through the library kit


Implementation
    public function get ref():String
    public function set ref(value:String):void
srcproperty 
src:String

src loads a swf movie file


Implementation
    public function get src():String
    public function set src(value:String):void
Constructor Detail
SWF()Constructor
public function SWF()

Constructor

Method Detail
dispose()method
override public function dispose():void

Dispose method

init()method 
override public function init():void

Initialisation method