Package | com.gestureworks.cml.element |
Class | public class ImageSlideshow |
Inheritance | ImageSlideshow ImageSequence ImageList ElementFactory flash.display.Sprite |
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 | ||
defaultIndex : int | ImageSlideshow | ||
displayEvents : String
Use for dispatch completes. | ElementFactory | ||
dropShadow : Boolean
Sets the drop shadow effect
| ElementFactory | ||
fadeDuration : Number | ImageSlideshow | ||
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
| ImageSlideshow | ||
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 method
| ImageSlideshow | ||
fadein(index:int):void
Fades in
| ImageSlideshow | ||
fadeout(index:int):void
Fades out
| ImageSlideshow | ||
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 [override]
Image load callback
| ImageSlideshow | ||
loadDefault(index:int):void
Loads image
| ImageSlideshow | ||
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
| ImageSlideshow | ||
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 [override] | ImageSlideshow |
defaultIndex | property |
defaultIndex:int
public function get defaultIndex():int
public function set defaultIndex(value:int):void
fadeDuration | property |
fadeDuration:Number
public function get fadeDuration():Number
public function set fadeDuration(value:Number):void
ImageSlideshow | () | Constructor |
public function ImageSlideshow()
Constructor
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