function loadXML(loaded) { if (loaded) { xmlNode = this.childNodes[1]; image = []; url = []; total = xmlNode.childNodes.length; for (i=0; i=0) { picture._alpha -= 5; } else { nextImage(); delete this.onEnterFrame; } }; } function nextImage() { if (p<(total-1)) { p++; } else { p = 0; } if (loaded == filesize) { picture.loadMovie(image[p], 1); picture._alpha = 100; link.onRelease = function() { getURL(url[p], "_self"); }; } } /*function fadein() { this.onEnterFrame = function() { if (picture._alpha<=100) { picture._alpha += 5; } else { timer(); delete this.onEnterFrame; } }; }*/