http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
http://www.kirupa.com/developer/mx2004/xml_slideshow.htm
I need some help to develop these two galleries, due to a lack of knowledge to scripting! ;(
i would like to have a slide show to have an auto run and forward and back buttons, but the code in thes tuts is a bit over my head!
I do have this simpler code with fwd and bck buttons that works, just need to use a set interval to get a slideshow going on, PS it doesn’t have to be XML.
//my simple code
maxImages = 4;
toLoad = 1;
imagenav.btnFwd.onPress = function() {
imageForward();
};
imagenav.btnBack.onPress = function() {
imageBack();
};
//------------------------------
imageForward = function () {
toLoad++;
if (toLoad>maxImages) {
toLoad = 1;
}
if (toLoad<1) {
toLoad = maxImages;
}
holder.loadMovie("images/image_0"+toLoad+".jpg");
};
imageBack = function () {
toLoad–;
if (toLoad<1) {
toLoad = maxImages;
}
if (toLoad>maxImages) {
toLoad = 1;
}
holder.loadMovie("images/image_0"+toLoad+".jpg");
};
any ideas gratefully received
Rat