3d Flow gallery
Compatible: AS3, flash 8 or greater
Create a 3d gallery on apple style. Easy to configure.
A tutorial fla file with some preset is include on the downloadable zip file, so you can easy build an impact slide gallery.
With the xml file you can add as many images you want. The tutorial file show you how add links or others information in the xml.
Try it now.
ON_COMPLETEDRAW
this event is called when all the images are loaded!
flowComponentIstanceName.addEventListener("ON_COMPLETEDRAW", onComplete);
function onComplete(e){
trace("Complete - All Images are now loaded")
}
ON_CLICK_CENTRAL_PANEL
this event is called when the user click on the central image!
infoItemClicked is an XML Object, containing the xml node relative to the clicked image. You can use it to add a link, or other effects.
flowComponentIstanceName.addEventListener("ON_CLICK_CENTRAL_PANEL", onClick);
function onClick(e){
trace(e.currentTarget.infoItemClicked);
}
ON_ITEM_FOCUS
this event is called when the gallery move; every time an image finish his moovement and shift to the center
infoCentralItem is an XML Object, containing the xml node relative to the image shifted on the center. You can use it, for example, to show a title.
flowComponentIstanceName.addEventListener("ON_ITEM_FOCUS", onFocus);
function onFocus(e){
trace (e.currentTarget.infoCentralItem)
}