OK SEI STATO GENTILISSIMO ma prima di modificare l'AS volevo chiederti, tenendo per buono sempre lo stesso

filexml,come faccio a fare un fade out dell'immagine quando clicco sul puls next/prev o su una miniatura a caso. Ok

quando l'immagine arriverà a <1 _alpha, partirà il preload della prossima img con il suo relativo fade in. Ti scrivo

il cod sorg del file fla:


stop();
//Stop everything and set to not visible
progressBar_mc._visible = false;
outline_mc._visible = false;
whiteFrame_mc._visible = false;
description_mc._visible = false;
transp_mc._visible = false;

description_mc.stop();
transp_mc.stop();

var bolStart;
var slides_xml;
var txtDescription; //Defines the descriptive text to be displayed
var currentSlideNode;
var widthDisplay = 550;
var heightDisplay = 550;
var pictureBorder = 30;
var yPosition = 50;

slides_xml = new XML();
slides_xml.onLoad = startSlideShow; //start up
slides_xml.load("slides.xml");
slides_xml.ignoreWhite = true;

stop();

// Show the first slide and intialize variables
function startSlideShow(success) {
var rootNode;
var firstSlideNode;

bolStart = false; //defines that the description has not been shown

if (success == true) {
rootNode = slides_xml.firstChild;
//Display totalSlides on Scene
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
//Display current slide number on Scene
currentIndex = 1;
updateSlide(firstSlideNode);

}
}

// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
var imagePath;

bolStart = false; //defines that the description has not been shown
bolWhiteFrame = false; //defines if white frame is displayed

imagePath = newSlideNode.attributes.jpegURL;
this.createEmptyMovieClip("holder",1);
holder.loadMovie(imagePath);

this.onEnterFrame=function() {
percent = Math.round((this.holder.getBytesLoaded()/this.holder.getBytesTotal())*100);
if(!isNan(percent))
{
//Set progress bar values
//trace(percent + "% loaded");
data= "loading xml data"+ percent +"%";
progressBar_mc._width = percent;
progressBar_mc._visible = true;
}
else {
progressBar_mc._visible = true;
progressBar_mc._width = "0";
//trace("0% loaded");
}

if(percent > 99){ //If picture is loaded
//picture holder movie
this.holder._x = (widthDisplay - this.holder._width)/2;
this.holder._y = yPosition + (pictureBorder/2);

//transparant movie
transp_mc._width = this.holder._width + pictureBorder;
transp_mc._height = this.holder._height + pictureBorder;
transp_mc._y = yPosition;
transp_mc._x = ((widthDisplay - this.holder._width)/2) - (pictureBorder/2);
transp_mc._visible = true;
transp_mc.gotoAndPlay (1);

transp_mc.swapDepths (5);
bolWhiteFrame = true;

if (desctextfade == "true") {
JPEGButton_mc._x = ((widthDisplay - this.holder._width)/2) -

(pictureBorder/2);
JPEGButton.mc._y = yPosition;
JPEGButton.mc._width = this.holder._width + pictureBorder;
JPEGButton.mc._height = this.holder._height + pictureBorder;


}
else {
JPEGButton_mc._visible = false;
}

description_mc._y = 0;
description_mc._x = (widthDisplay/2) - 200;

//Remove progress bar
progressBar_mc._visible = false;
outline_mc._visible = false;

delete this.onEnterFrame;

//If require description to be displayed and not faded in
if (desctextfade == "false") {
DisplayDescription();
}

}

}

}

// Event handler for 'Next slide' button
next_btn.onRelease = function() {
var nextSlideNode;

nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
break;
} else {
//Display current slide number on Scene
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}

};

// Event handler for 'Previous slide' button
back_btn.onRelease = function() {

var previousSlideNode;

previousSlideNode = currentSlideNode.previousSibling;
if (previousSlideNode == null) {
break;
} else {
//Display current slide number on Scene
currentIndex--;
currentSlideNode = previousSlideNode;
updateSlide(previousSlideNode);
}

};


Il clip che creo per caricare le immag si chiama "holder".
Mi dici dove e come ci infilo il cod per il fade out dell'immagine?????????????????? HELPPPPPPPPPPPP!!!