My account
Shopping cart
Knowledge base
Support


XML Slide Show V3 Properties



Overview | Properties | Methods | Events | XML

Most these properties can also be set from XML, using the xmlPath optional parameter. They can also be set in the Component Inspector (Alt + F7)

 
Property Type Component Inspector Description
autoSlideShow Boolean
Yes
If true, the slide show will switch automatically between slides.

Default: true

Usage:
componentInstance.autoSlideShow=false
border Boolean
Yes
If true, the slides will draw with borders.

Default: true

Usage:
componentInstance.border = false
borderColor Number
Yes
Sets the color of the borders.

Default: 0xFFFFFF

Usage:
componentInstance.borderColor = 0xFFC0CC
borderSize Number
Yes
Sets the size of the borders in pixels.

Default: 3

Usage:
componentInstance.borderSize = 4
builtInPreloader String
Yes
Sets the type of the bulit-in preloader/progress display. Values: [bar, circle, None].

Default: None

Usage:
componentInstance.builtInPreloader="bar"
contentSize Number
Yes
Sets the width or height of the item in pixels (depending on the orientation, width on horizontal, height on vertical).

Default: 250

Usage:
componentInstance.contentSize = 100
easeType String
Yes
Sets the ease type for the sliding transition tween. Values: [easeOut, easeIn, easeInOut, None]

Default: easeOut

Usage:
componentInstance.easeType ="easeOut"
height Number
No
Used to resize the component's height in runtime without affecting the _yscale/scaleY of the component. The component will than align and resize (if needed) the content in order to show the new size.

Usage:
componentInstance.height=120
loadVisibleItemsOnly Boolean
Yes
If true, the component loads only visible items in the sliding component, when a item appears to be visible it loads. This is very useful when loading many items.

Default: false

Usage:
componentInstance.loadVisibleItemsOnly = true
orientation String
Yes
Sets the orientation of the slider, the invisible support that displays the slides. Values: [horizontal, vertical].

Default: horizontal

Usage:
componentInstance.orientation = "horizontal"
preloaderColor Number
Yes
Sets the color of the built-in preloader and percentage.

Default: 0xFFFFFF

Usage:
componentInstance.preloaderColor = 0xFFCC00
scaleMode
String
Yes
Sets the type of the resize applied to the content of the slides. Values:[resize, scale, crop, scaleCrop, none]

Default: resize

Usage:
componentInstance.scaleMode = "scale"
slideShowInterval Number
Yes
Sets the interval (in seconds) before the component will switch to another primary image.

Default: 3

Usage:
componentInstance.slideShowInterval = 5
spacing Number
Yes
Sets the space between items (slides).

Default: 5

Usage:
componentInstance.spacing = 2
tweening Boolean
Yes
If false, the switching between the items will be done without sliding.

Default: true

Usage:
componentInstance.tweening = false
tweeningDuration Number
Yes
Sets the duration of the slide tweening in frames.

Default: 20

Usage:
componentInstance.tweeningDuration = 10
tweenType String
Yes
Sets the tweening type. Values: [Regular, Strong, Back, Elastic, Bounce].

Default: Strong

Usage:
componentInstance.tweenType = "Back"
width Number
No
Used to resize the component's width in runtime without affecting the _xscale/scaleX of the component. The component will than align and resize (if needed) the content in order to show the new size.

Usage:
componentInstance.width=200
xmlPath String
Yes
Optional parameter. Sets the path to a XML file that can configure the XML Slide Show V3.

Parameters that are set from the <properties>
Node of the XML (xmlPath) will override parameters set from script or Component Inspector. The <data>
Node will contain the slides data, entering this
Node is essential for the slide show. You don't need to use xmlPath param, you can set the XML using the setXML method.

Usage:
componentInstance.xmlPath = "XMLSlideShowConfig.xml"

Overview | Properties | Methods | Events | XML