Hi all
I want to create an image gallery like the nvidia site : http://www.nvidia.com/page/home.html
If you see the flash intro, you can see that 4 images with description will load and loop continually.
I have created the xml part in flash, but the problem is :
- how can i make pause between images that are showing ?
- how can i make it looping ?
i am images from a directory with xml.
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
images = [];
titles = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
_root.images = xmlNode.childNodes*.childNodes[0].firstChild;
_root.desc = xmlNode.childNodes*.childNodes[1].firstChild;
_root.textHolder.textHolder.text = _root.desc;
loadMovie(images, imageHolder);
}
} else {
trace("file not loaded!");
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images_xml.xml");
please help me…