3D ImageFlow Gallery Reference

Dazzle your viewers with 3D photo navigation. Create an amazing gallery with cool  perspective effects in seconds and give your photos stunning 3d and camera effects.  The component is fully ActionScript 2 compatible.
 

Make sure to take a look at the online documentation as well.

Gallery.addItemAt()

Usage

galleryInstance.addItemAt(index, itemObject)

Parameters

Index A number greater than or equal to 0 that indicates the position of the item.

itemObject An item object that has an url property that is the path to the image to show, optionally an item can have a width and height property which contains the image size, a description property that is used to describe the image and is shown when the image is selected and a link and target property that contains the url where to go to when the selected image is double clicked.

Returns

Nothing.

Description

Method; adds a new item to the position specified by the index parameter.

Example

The following example adds an item to the first index position, which is the second item in the gallery and will place photo3.jpg between photo1.jpg and photo2.jpg. To try this code, drag a Gallery component to the Stage and give it the instance name my_gallery. Add the following code to Frame 1 in the timeline:

var my_gallery:com.flzone.imageflow.Gallery;
my_gallery.addItem({url:"photo1.jpg"});
my_gallery.addItem({url:"photo2.jpg"});
my_gallery.addItemAt(1, {url:"photo3.jpg"});


Comments

Be the first to write a comment

You must me logged in to write a comment.