| 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/"; |
background |
Background settings.
To get value:
trace(instanceName.background.Property);
Example
trace(instanceName.background.bgColor);
To set new value:
instanceName.background={Property1: value, Property2: value, ..};
Example
instanceName.background={bgColor: 0xFFFFFF, bgAlpha: 100, bgImage: "images/bg.jpg"}; |
visibleMatrix |
Number of rows with thumbnails.
To get value:
trace(instanceName.visibleMatrix.Property);
Example
trace(instanceName.visibleMatrix.rows);
To set new value:
instanceName.visibleMatrix={Property1: value};
Example
instanceName.visibleMatrix={rows: 3}; |
zoom |
Zoom parameter of the camera.
To get value:
trace(instanceName.zoom);
To set new value:
instanceName.zoom=2; |
useHighlight |
Highlights images on mouseover.
To get value:
trace(instanceName.useHighlight);
To set new value:
instanceName.useHighlight=true; |
showReflections |
Show/hide thumbnail reflections.
To get value:
trace(instanceName.showReflections);
To set new value:
instanceName.showReflections=true; |
reflectionAlpha |
Reflection transparency.
To get value:
trace(instanceName.reflectionAlpha);
To set new value:
instanceName.reflectionAlpha=80; |
thumbnail |
Thumbnail settings.
To get value:
trace(instanceName.thumbnail.Property);
Example
trace(instanceName.thumbnail.width);
To set new value:
instanceName.thumbnail={Property1: value, Property2: value, ..};
Example
instanceName.thumbnail={width: 100, height: 75, distance: 10}; |
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={scaleMode: "fit", bgColor: 0x000000, bgAlpha: 50, thumbProportion: true}; |
imageCaption |
Caption settings.
To get value:
trace(instanceName.imageCaption.Property);
Example
trace(instanceName.imageCaption.position);
To set new value:
instanceName.imageCaption={Property1: value, Property2: value, ..};
Example
instanceName.imageCaption={position: " top ", color: 0xFFFFFF, bgColor: 0x000000, bgAlpha: 80, fontName:"Arial", fontSize:11, visibleMode: "always" }; |
scrollSpeed |
Thumbnail scroll speed.
To get value:
trace(instanceName.scrollSpeed);
To set new value:
instanceName.scrollSpeed=0.3; |
colorScheme |
Color scheme.
To get value:
trace(instanceName.colorScheme);
To set new value:
instanceName.colorScheme="black"; |
preloader |
Preloader settings.
To get value:
trace(instanceName.preloader.Property);
Example
trace(instanceName.preloader.barColor);
To set new value:
instanceName.preloader={Property1: value, Property2: value, ..};
Example
instanceName.preloader={stripesAlpha: 45, barColor: 0x000000, barAlpha: 60, bgColor: 0x000000, bgAlpha: 10, innerShadow: 20, dropShadow: 30}; |
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"}; |