Package | com.gestureworks.cml.element |
Class | public class ImageSequence |
Inheritance | ImageSequence ![]() ![]() ![]() |
Subclasses | ImageSlideshow |
See also
Property | Defined By | ||
---|---|---|---|
![]() | alpha : Number [override] [write-only]
sets the alpha for display objects
| ElementFactory | |
autoplay : Boolean
Indicates whether the file plays upon load
| ImageSequence | ||
![]() | autoShow : Boolean
Indicates whether the file shows upon load
| ImageList | |
![]() | 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 | |
![]() | cmlIndex : int
sets the cml index
| ElementFactory | |
![]() | currentIndex : int
sets the current index of the image
| ImageList | |
![]() | currentValue : * [read-only]
sets the current value
| ImageList | |
![]() | 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 | |
![]() | length : int [read-only]
defines the length
| ImageList | |
loop : Boolean | ImageSequence | ||
![]() | preload : Boolean = true
defines preload flag
| ImageList | |
![]() | propertyStates : Array Deprecated: Please Use state | ElementFactory | |
rate : Number | ImageSequence | ||
![]() | 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
sets the src xml file
| ImageList | |
![]() | 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 | ||
---|---|---|---|
Constructor
| ImageSequence | ||
![]() | append(file:String):void
appends the image to the list
| ImageList | |
![]() | clone():*
Returns clone of self
| ElementFactory | |
![]() | displayComplete():void
CML callback
| ElementFactory | |
dispose():void [override]
Dispose methods and remove listener
| ImageSequence | ||
![]() | getIndex(index:int):*
returns the image by index
| ImageList | |
![]() | hasIndex(index:int):Boolean
finds and returns the index value
| ImageList | |
![]() | hasNext():Boolean
find and returns the next image from the list
| ImageList | |
![]() | hasPrev():Boolean
returns the previous index from list
| ImageList | |
![]() | hide(index:int):void
hides
| ImageList | |
![]() | init():void
Initialization function
| ElementFactory | |
![]() | insert(index:int, file:String):void
inserts image into specified index location
| ImageList | |
![]() | loadComplete():void
image load callback
| ImageList | |
![]() | next():*
returns the next image
| ImageList | |
![]() | parseCML(cml:XMLList):XMLList
parses cml file
| ElementFactory | |
pause():void
Pauses the sequencer
| ImageSequence | ||
play():void
Starts the sequencer from the beginning
| ImageSequence | ||
![]() | postparseCML(cml:XMLList):void [override]
This is called by the CML parser. | ImageList | |
![]() | prepend(file:String):void
prepends the image to the list
| ImageList | |
![]() | prev():*
returns the previous image
| ImageList | |
![]() | removeIndex(index:int):void
removes the index from list
| ImageList | |
reset():void [override]
Resets the sequencer
| ImageSequence | ||
resume():void
Resumes the sequencer
| ImageSequence | ||
![]() | search(value:*):*
search the list by image value
| ImageList | |
![]() | selectIndex(index:int):*
returns the image by index and updates the current index
| ImageList | |
![]() | show(index:int):void
adds the selected index
| ImageList | |
stop():void
Pauses and resets the sequencer
| ImageSequence | ||
![]() | toggle(index1:int, index2:int):void
toggles the indexes
| ImageList | |
![]() | updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory |
Method | Defined By | ||
---|---|---|---|
onTimer(event:TimerEvent):void | ImageSequence | ||
showNext():void | ImageSequence |
autoplay | property |
autoplay:Boolean
Indicates whether the file plays upon load
The default value is false
.
public function get autoplay():Boolean
public function set autoplay(value:Boolean):void
lastIndex | property |
protected var lastIndex:int = 0
loop | property |
loop:Boolean
public function get loop():Boolean
public function set loop(value:Boolean):void
rate | property |
rate:Number
public function get rate():Number
public function set rate(value:Number):void
timer | property |
protected var timer:Timer
ImageSequence | () | Constructor |
public function ImageSequence()
Constructor
dispose | () | method |
override public function dispose():void
Dispose methods and remove listener
onTimer | () | method |
protected function onTimer(event:TimerEvent):void
Parameters
event:TimerEvent |
pause | () | method |
public function pause():void
Pauses the sequencer
play | () | method |
public function play():void
Starts the sequencer from the beginning
reset | () | method |
override public function reset():void
Resets the sequencer
resume | () | method |
public function resume():void
Resumes the sequencer
showNext | () | method |
protected function showNext():void
stop | () | method |
public function stop():void
Pauses and resets the sequencer