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.flipDuration
Usage
galleryInstance.flipDuration
Description
Property; the duration in milliseconds the navigation animation lasts. The default value is 2000.
Example
The following example lets you navigate through the gallery using a button, the speed of the navigation animation is set to 500 milliseconds. To try this code, drag a Gallery component to the Stage and give it the instance name my_gallery. Next, drag a Button component to the Stage and give it the instance name flip_button. Add the following code to Frame 1 in the timeline:
var my_gallery:com.flzone.imageflow.Gallery;
var flip_button:mx.controls.Button;
flip_button.label = "flip";
my_gallery.addItem({url:"photo1.jpg"});
my_gallery.addItem({url:"photo2.jpg"});
my_gallery.addItem({url:"photo3.jpg"});
my_gallery.flipDuration = 500;
var buttonListener:Object = new Object();
buttonListener.click =
function(evt_obj:Object) {
my_gallery.flip();
};
flip_button.addEventListener("click",
buttonListener);
Comments
Be the first to write a comment
You must me logged in to write a comment.