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.
3D ImageFlow Gallery Reference
Gallery.getItemAt()
Usage
galleryInstance.getItemAt(index)
Parameters
Index A number greater than or equal to 0, and less than Gallery.length. It specifies the index of the item to retrieve.
Returns
The indexed item object; undefined
if the index is out of
range.
Description
Method; retrieves the item at the specified index.
Example
The following code displays the url of the item at index position 2. 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.addItem({url:"photo3.jpg"});
trace(my_gallery.getItemAt(2).url);
Comments
Be the first to write a comment
You must me logged in to write a comment.