| Package | com.gestureworks.cml.element |
| Class | public class SWF |
| Inheritance | SWF ElementFactory flash.display.Sprite |
| Subclasses | SWFElement |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | alpha : Number [override] [write-only]
sets the alpha for display objects
| ElementFactory | |
![]() | blur : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | bottom : Number
sets the bottom value
| ElementFactory | |
![]() | class_ : String
Object's css class;
| ElementFactory | |
![]() | className : 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 | ||
![]() | cmlIndex : int
sets the cml index
| ElementFactory | |
| color : Number
Sets element's color in hex
| SWF | ||
![]() | debugStyle : *
sets the debug style
| ElementFactory | |
![]() | displayEvents : String
Use for dispatch completes. | ElementFactory | |
![]() | dropShadow : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | height : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | heightPercent : String
sets the height percent of display object
| ElementFactory | |
![]() | horizontalCenter : Number
sets the horizontal center of display object
| ElementFactory | |
![]() | id : String
sets the id of child
| ElementFactory | |
![]() | index : int
sets the index of display object
| ElementFactory | |
![]() | left : Number
sets left value
| ElementFactory | |
![]() | propertyStates : Array Deprecated: Please Use state | ElementFactory | |
| ref : String
ref loads a swf library class
must be pre-loaded through the library kit
| SWF | ||
![]() | right : Number
sets the right value
| ElementFactory | |
![]() | scale : Number
Sets both the x and y scale values
| ElementFactory | |
![]() | scaleX : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | scaleY : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
| src : String
src loads a swf movie file
| SWF | ||
![]() | state : Array
property states array
| ElementFactory | |
![]() | top : Number
sets top value
| ElementFactory | |
![]() | verticalCenter : Number
sets the vertical center of display object
| ElementFactory | |
![]() | width : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | widthPercent : String
sets the percent of width of display object
| ElementFactory | |
| Method | Defined By | ||
|---|---|---|---|
SWF()
Constructor
| SWF | ||
![]() | clone():*
Returns clone of self
| ElementFactory | |
![]() | displayComplete():void
CML callback
| ElementFactory | |
dispose():void [override]
Dispose method
| SWF | ||
init():void [override]
Initialisation method
| SWF | ||
![]() | parseCML(cml:XMLList):XMLList
parses cml file
| ElementFactory | |
![]() | postparseCML(cml:XMLList):void
post parses the cml file
| ElementFactory | |
![]() | updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory | |
| classRef | property |
classRef:StringclassRef loads a swf library class must be pre-loaded through the library kit
public function get classRef():String public function set classRef(value:String):void| color | property |
color:NumberSets element's color in hex
public function get color():Number public function set color(value:Number):void| ref | property |
ref:Stringref loads a swf library class must be pre-loaded through the library kit
public function get ref():String public function set ref(value:String):void| src | property |
src:Stringsrc loads a swf movie file
public function get src():String public function set src(value:String):void| SWF | () | Constructor |
public function SWF()Constructor
| dispose | () | method |
override public function dispose():voidDispose method
| init | () | method |
override public function init():voidInitialisation method