| Property name |
Description |
XMLFile |
Full Path to XML configuration file (contains filename).
To get value:
trace(instanceName.XMLFile);
To set new value:
instanceName.XMLFile="gallery.xml"; |
imagesFolder |
Path to the folder with images.
To get value:
trace(instanceName.imagesFolder);
To set new value:
instanceName.imagesFolder="images/"; |
buttons |
Button settings.
To get value:
trace(instanceName.buttons.Property);
Example
trace(instanceName.buttons.navigationButtons);
To set new value:
instanceName.buttons={Property1: value, Property2: value, ..};
Example
instanceName.buttons={navigationButtons: true, slideshowButton: false}; |
bgImage |
Background image settings.
To get value:
trace(instanceName.bgImage.Property);
Example
trace(instanceName.bgImage.alpha);
To set new value:
instanceName.bgImage={Property1: value, Property2: value, ..};
Example
instanceName.bgImage={alpha: 100, source: "images/bg.jpg"}; |
image |
Image settings.
To get value:
trace(instanceName.image.Property);
Example
trace(instanceName.image.scaleMode);
To set new value:
instanceName.image={Property1: value, Property2: value, ..};
Example
instanceName.image={align: "center", scaleMode: "fill", cornerRadius: "10", transitionEffect: "fade"}; |
caption |
Caption settings.
To get value:
trace(instanceName.caption.Property);
Example
trace(instanceName.caption.fontSize);
To set new value:
instanceName.caption={Property1: value, Property2: value, ..};
Example
instanceName.caption={position: "bottom", visibleMode: "onRollOver", fontName: "Verdana", fontSize: 12}; |
thumbnail |
Thumbnail settings.
To get value:
trace(instanceName.thumbnail.Property);
Example
trace(instanceName.thumbnail.size);
To set new value:
instanceName.thumbnail={Property1: value, Property2: value, ..};
Example
instanceName.thumbnail={size: "50", style: "gray", cornerRadius: 10, fontColor: 0xFFFFFF}; |
thumbBar |
Thumbnail bar settings.
To get value:
trace(instanceName.thumbBar.Property);
Example
trace(instanceName.thumbBar.position);
To set new value:
instanceName.thumbBar={Property1: value, Property2: value, ..};
Example
instanceName.thumbBar={position: "bottom", scrollSpeed: 10, useThumbBar: true}; |
preloader |
Preloader settings.
To get value:
trace(instanceName.preloader.Property);
Example
trace(instanceName.preloader.alpha);
To set new value:
instanceName.preloader={Property1: value, Property2: value, ..};
Example
instanceName.preloader={alpha: 100, usePreloader: true}; |
slideshow |
Slideshow settings.
To get value:
trace(instanceName.slideshow.Property);
Example
trace(instanceName.slideshow.delay);
To set new value:
instanceName.slideshow={Property1: value, Property2: value, ..};
Example
instanceName.slideshow={start: 100, delay: 3, loop: true, stopAutoOnClick: true}; |
sounds |
Sound settings.
To get value:
trace(instanceName.sounds.Property);
Example
trace(instanceName.sounds.onRollOver);
To set new value:
instanceName.sounds={Property1: value, Property2: value, ..};
Example
instanceName.sounds={onRollOver: "sounds/over.mp3", onClick: "sounds/click.mp3"}; |
picasa |
Using images from picasa.com
To get value:
trace(instanceName.picasa.user);
trace(instanceName.picasa.albumID);
To set new value:
instanceName.picasa ={user: "YOUR LOGIN", albumID: "ALBUM ID"}; |