Packagecom.gestureworks.cml.element
Classpublic class ImageSequence
InheritanceImageSequence Inheritance ImageList Inheritance ElementFactory Inheritance flash.display.Sprite
Subclasses ImageSlideshow

The ImageSequence element creates a list of images and contains a build-in sequencer.

See also

Slideshow
ImageList
ImageSlideshow


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
  autoplay : Boolean
Indicates whether the file plays upon load
ImageSequence
 InheritedautoShow : Boolean
Indicates whether the file shows upon load
ImageList
 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
 InheritedcmlIndex : int
sets the cml index
ElementFactory
 InheritedcurrentIndex : int
sets the current index of the image
ImageList
 InheritedcurrentValue : *
[read-only] sets the current value
ImageList
 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
 Inheritedlength : int
[read-only] defines the length
ImageList
  loop : Boolean
ImageSequence
 Inheritedpreload : Boolean = true
defines preload flag
ImageList
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
  rate : Number
ImageSequence
 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
 Inheritedsrc : String
sets the src xml file
ImageList
 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
Protected Properties
 PropertyDefined By
  lastIndex : int = 0
ImageSequence
  timer : Timer
ImageSequence
Public Methods
 MethodDefined By
  
Constructor
ImageSequence
 Inherited
append(file:String):void
appends the image to the list
ImageList
 Inherited
clone():*
Returns clone of self
ElementFactory
 Inherited
CML callback
ElementFactory
  
dispose():void
[override] Dispose methods and remove listener
ImageSequence
 Inherited
getIndex(index:int):*
returns the image by index
ImageList
 Inherited
hasIndex(index:int):Boolean
finds and returns the index value
ImageList
 Inherited
hasNext():Boolean
find and returns the next image from the list
ImageList
 Inherited
hasPrev():Boolean
returns the previous index from list
ImageList
 Inherited
hide(index:int):void
hides
ImageList
 Inherited
init():void
Initialization function
ElementFactory
 Inherited
insert(index:int, file:String):void
inserts image into specified index location
ImageList
 Inherited
image load callback
ImageList
 Inherited
next():*
returns the next image
ImageList
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
  
pause():void
Pauses the sequencer
ImageSequence
  
play():void
Starts the sequencer from the beginning
ImageSequence
 Inherited
postparseCML(cml:XMLList):void
[override] This is called by the CML parser.
ImageList
 Inherited
prepend(file:String):void
prepends the image to the list
ImageList
 Inherited
prev():*
returns the previous image
ImageList
 Inherited
removeIndex(index:int):void
removes the index from list
ImageList
  
reset():void
[override] Resets the sequencer
ImageSequence
  
resume():void
Resumes the sequencer
ImageSequence
 Inherited
search(value:*):*
search the list by image value
ImageList
 Inherited
selectIndex(index:int):*
returns the image by index and updates the current index
ImageList
 Inherited
show(index:int):void
adds the selected index
ImageList
  
stop():void
Pauses and resets the sequencer
ImageSequence
 Inherited
toggle(index1:int, index2:int):void
toggles the indexes
ImageList
 Inherited
updateProperties(state:Number = 0):void
this method updates the properties
ElementFactory
Protected Methods
 MethodDefined By
  
onTimer(event:TimerEvent):void
ImageSequence
  
showNext():void
ImageSequence
Property Detail
autoplayproperty
autoplay:Boolean

Indicates whether the file plays upon load

The default value is false.


Implementation
    public function get autoplay():Boolean
    public function set autoplay(value:Boolean):void
lastIndexproperty 
protected var lastIndex:int = 0

loopproperty 
loop:Boolean


Implementation
    public function get loop():Boolean
    public function set loop(value:Boolean):void
rateproperty 
rate:Number


Implementation
    public function get rate():Number
    public function set rate(value:Number):void
timerproperty 
protected var timer:Timer

Constructor Detail
ImageSequence()Constructor
public function ImageSequence()

Constructor

Method Detail
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