Get ready for BLACK FRIDAY shopping starting in

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.goto()

Usage

galleryInstance.goto(index)

Parameters

Index A number greater than or equal to 0, and less than Gallery.length. It specifies the index of the item to navigate to.

Returns

Nothing.

Description

Method; Navigate to the specified index in the gallery.

Example

The following code navigates the gallery using a NumericStepper. To try this code, drag a Gallery component to the Stage and give it the instance name my_gallery. Next, drag a NummericStepper component to the Stage and give it the instance name my_nstep. Add the following code to Frame 1 in the timeline:

var my_gallery:com.flzone.imageflow.Gallery;
var my_nstep:mx.controls.NummericStepper;
my_gallery.addItem({url:"photo1.jpg"});
my_gallery.addItem({url:"photo2.jpg"});
my_gallery.addItem({url:"photo3.jpg"});
var nstepListener:Object = new Object();
nstepListener.change = function(evt_obj:Object) {
    my_gallery.goto(evt_obj.target.value);
};
my_nstep.addEventListener("change", nstepListener);


Comments

Be the first to write a comment

You must me logged in to write a comment.