un ragazzo del forum mi ha gentilmente aiutato a creare uno slide di foto di cui riporto il codice.
Funziona benissimo, praticamente pesca foto esterne con un xml e le fa scorrere.. unica cosa che no so come fare: vorrei che arrivati all'ultima foto ripartisse da capo dalla prima come se non ci fosse una vera fine ma uno scorrimento continuo.. qualcuno potrebbe aiutarmi?

Codice PHP:
stop();

var 
mioxml:XML = new XML();
var 
immagini:Array = new Array();
var 
img:Array = new Array();
var 
percorso:Array = new Array();

mioxml.ignoreWhite true;
mioxml.load("images.xml");

mioxml.onLoad LeggiXML;

function 
LeggiXML(success)
{
    if(
mioxml.loaded)
    {
        
immagini mioxml.childNodes;
        
img immagini[0].childNodes;
        for(
i=0i<img.lengthi++)
        {
            
percorso.push(img[i].childNodes[0].childNodes.toString());
        }
        
num_foto percorso.length;
        for(
l=0l<num_fotol++)
        {
            
imgs.barra.createEmptyMovieClip("img"+l,100+l);
            
imgs.barra["img"+l]._x = (465 l) + 1;
            
imgs.barra["img"+l]._y = -186;
            
imgs.barra["img"+l].loadMovie(percorso[l]);
        }
        
SlideS();
    }

Codice PHP:
var inizio_sl guida._y;

slaid._y inizio_sl;

var 
speed = (((slaid._y 162.7) * 10) / 193) ;
var 
destra true;
var 
sinistra false;
var 
ferma false;

// visualizza stop
fermato.onEnterFrame = function()
{
    if(
ferma)
    {
        
this._alpha 100;
    }
    else
    {
        
this._alpha 0;
    }
}

// pulsanti
ff.onRelease = function()
{
    
destra true;
    
sinistra false;
}

rw.onRelease = function()
{
    
destra false;
    
sinistra true;
}

st.onRelease = function()
{
    if(!
ferma)
    {
        
ferma true;
    }
    else
    {
        
ferma false;
    }
}

// slide
slaid.onPress = function()
{
    
startDrag(this,true,guida._x 1164 + (this._height 2) ,guida._x 1375 - (this._height 2));
    
    
this.onEnterFrame = function()
    {
        
speed = (((slaid._y 162.7) * 10) / 193) ;
    }
    
}

slaid.onReleaseslaid.onMouseUp = function()
{
    
this.stopDrag();