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

Usage

galleryInstance.load([xmlPath])

Parameters

xmlPath An optional parameter that specifies the value of the xmlPath property before the load begins. If a value is not specified, the current value of xmlPath is used as is.

Returns

Nothing.

Description

Method; Tells the gallery to begin loading the xml.

Example

The following example creates a Gallery instance, my_gallery, and a Button instance and sets the c. Add the xmlPath to the location where the gallery xml is located. Next the example creates a listener for the click event on the button. When the user clicks the button, the event handler calls the my_gallery.load() to load the xml.

Drag a Gallery component and a Button component from the Component panel to the Library, then add the following code to Frame 1 in the timeline:

this.createClassObject(com.flzone.imageflow.Gallery, " my_gallery ", 10);
this.createClassObject(mx.controls.Button, "load_button", 20, {label:"Load"});
my_gallery.xmlPath = "gallery.xml";
var buttonListener:Object = new Object();
buttonListener. click = function(evt_obj:Object) {
    my_gallery.load();
};
load_button.addEventListener("click", buttonListener);


Comments

Be the first to write a comment

You must me logged in to write a comment.