My Account

3D Wall Flash Gallery

Using this gallery you have possibility to present your favourite photos in the non-standard way as though they have been placed on art gallery walls. More Info

3DWall Photo Gallery - Component API


Methods

Method name Description

addItem(newItemObj:Object);

Adds a new image to the album.

newItemObj – specified in the following way:
newItemObj. source: String – Path to the image file (or library symbol name)
newItemObj. description: String – Image description
newItemObj. link: String – Link, which activates when user click on image
 newItemObj. target String – Target of link, it may have four values:

  • "_self" specifies the current frame in the current window.
  • "_blank" specifies a new window.
  • "_parent" specifies the parent of the current frame.
  • "_top" specifies the top-level frame in the current window.

Example
instanceName.addItem({source:”image1.jpg”, description: “Bu Ga Ga!”, link:”http://www.flash-gallery.com”, target:”_blank”} );

buildGallery();

This method either creates a new gallery or rebuilds an existing gallery basing on the given settings.

Example
instanceName.buildGallery();

 

Properties

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