prova un po con
Codice PHP:indietro.onRelease = function() {
this.gotoAndPlay(1);
index--
if (index >=1) {
_root.targetClip.Alpha(false, 0, 20, "", "", _root.Preload, index);
} else {
index = myArray.length-1;
_root.targetClip.Alpha(false, 0, 20, "", "", _root.Preload, index);
}
};
avanti.onRelease = function(){
this.gotoAndPlay(1);
index++
if (index <= myArray.length-1) {
_root.targetClip.Alpha(false, 0, 20, "", "", _root.Preload, index);
} else {
index = 0;
_root.targetClip.Alpha(false, 0, 20, "", "", _root.Preload, index);
}
};

Rispondi quotando