My Account

Box Photo Gallery

A natural and compact way to present your photos online. Use the usable table structure of thumbnails for navigating through your online photo gallery. More Info

Box Flash Gallery - Component API


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/";

image

Image settings.

To get value:
trace(instanceName.image.scaleMode);
To set new value:
instanceName.image={scaleMode: fill};

thumbnail

Thumbnail settings.

To get value:
trace(instanceName.thumbnail.width);
trace(instanceName.thumbnail.height);
trace(instanceName.thumbnail.alpha);
To set new value:
instanceName.thumbnail={width: 80, height: 60, alpha: 70};

colorScheme

Color scheme settings.

To get value:
trace(instanceName.colorScheme.thumbsFrameColor);
trace(instanceName.colorScheme.imageBGColor);
To set new value:
instanceName.colorScheme={thumbsFrameColor: 0xFFFFFF, imageBGColor: 0x000000};

imageCaption

Caption settings.

To get value:
trace(instanceName.imageCaption.position);
trace(instanceName.imageCaption.bgAlpha);
trace(instanceName.imageCaption.color);
trace(instanceName.imageCaption.bgColor);
trace(instanceName.imageCaption.fontName);
trace(instanceName.imageCaption.fontSize);
trace(instanceName.imageCaption.visibleMode);
To set new value:
instanceName.imageCaption ={position: "bottom", bgAlpha: 40, color: 0xFFFFFF, bgColor: 0x000000, fontName: "Verdana", fontSize: 12, visibleMode: "always" };

thumbCaption

Caption settings.

To get value:
trace(instanceName.thumbCaption.bgAlpha);
trace(instanceName.thumbCaption.color);
trace(instanceName.thumbCaption.bgColor);
trace(instanceName.thumbCaption.fontName);
trace(instanceName.imageCaption.fontSize);
trace(instanceName.thumbCaption.visibleMode);
To set new value:
instanceName.thumbCaption ={bgAlpha: 70, color: 0xFFFFFF, bgColor: 0x000000, fontName: "Arial", fontSize: 9, visibleMode: "onRollOver" };

sound

Sound settings.

To get value:
trace(instanceName.sound.onRollOver);
trace(instanceName.sound.onClick);
To set new value:
instanceName.sound ={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"};