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

The ImageSlideshow element creates a list of images and contains a build-in sequencer with fade transitions.

See also

Slideshow
ImageList
ImageSlideshow


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
 Inheritedautoplay : 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
  defaultIndex : int
ImageSlideshow
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheriteddropShadow : Boolean
Sets the drop shadow effect
ElementFactory
  fadeDuration : Number
ImageSlideshow
 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
 Inheritedloop : Boolean
ImageSequence
 Inheritedpreload : Boolean = true
defines preload flag
ImageList
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
 Inheritedrate : 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
 InheritedlastIndex : int = 0
ImageSequence
 Inheritedtimer : Timer
ImageSequence
Public Methods
 MethodDefined By
  
Constructor
ImageSlideshow
 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 method
ImageSlideshow
  
fadein(index:int):void
Fades in
ImageSlideshow
  
fadeout(index:int):void
Fades out
ImageSlideshow
 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
  
[override] Image load callback
ImageSlideshow
  
loadDefault(index:int):void
Loads image
ImageSlideshow
 Inherited
next():*
returns the next image
ImageList
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
 Inherited
pause():void
Pauses the sequencer
ImageSequence
 Inherited
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
ImageSlideshow
 Inherited
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
 Inherited
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
 Inherited
onTimer(event:TimerEvent):void
ImageSequence
  
showNext():void
[override]
ImageSlideshow
Property Detail
defaultIndexproperty
defaultIndex:int


Implementation
    public function get defaultIndex():int
    public function set defaultIndex(value:int):void
fadeDurationproperty 
fadeDuration:Number


Implementation
    public function get fadeDuration():Number
    public function set fadeDuration(value:Number):void
Constructor Detail
ImageSlideshow()Constructor
public function ImageSlideshow()

Constructor

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

Dispose method

fadein()method 
public function fadein(index:int):void

Fades in

Parameters

index:int

fadeout()method 
public function fadeout(index:int):void

Fades out

Parameters

index:int

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

Image load callback

loadDefault()method 
public function loadDefault(index:int):void

Loads image

Parameters

index:int

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

Resets the sequencer

showNext()method 
override protected function showNext():void