Need help!

Hello dear friends,
I am glad for my first participation in this forum. Currently, I am working on Flash8, were doing a banner animation. It has buttons created by XML binding. When you click the buttons, appropriate product picture appears and when you click on the picture page is redirected to that products page. I want that animation to be automatically browsing products. And when you click some button browsing would stop, picture would appear, if no action wait for a while and continue browsing(first picture, second picture, …) automatically.

Actionscript as follows:

var txt1:String;
var k:Number=0;
function loadXML(loaded)
{
if (loaded)
{ xmlNode = this.firstChild.firstChild;
f_resimler = [];
UrunID = [];
pressed=[];
resim_sayisi = xmlNode.childNodes.length;
buton_movie._visible=false;
// UrunID._visible=false;
preloader._visible=false;

    for (d=0; d<resim_sayisi; d++) 
    {    f_resimler[d] = xmlNode.childNodes[d].childNodes[0].firstChild.nodeValue;
        UrunID[d] = xmlNode.childNodes[d].childNodes[1].firstChild.nodeValue; 
        duplicateMovieClip("buton_movie","buton_movie"+d,d);
        setProperty("buton_movie"+d,_x,buton_movie._width+buton_movie._x*d+buton_movie._x-d*20);
        eval("buton_movie"+d).createEmptyMovieClip("container",3);
            
        //eval("buton_movie"+d).container.loadMovie(k_resimler[d],d);
        eval("buton_movie"+d).Sayi = d+1;
        eval("buton_movie"+d).container._alpha=50;
        eval("buton_movie"+d).container._x=-26.5;
        eval("buton_movie"+d).container._y=-24;
        buton_movie0.buton.onPress();
        buton_movie0.container._alpha=100;
        
        
        
        /////////////////// click event ////////////////////
        eval("buton_movie"+d).buton.onPress= function()
        {
            
            eval("buton_movie"+d).container._alpha=100;
            active_resim=substring(this._parent._name,112,2);
            for(g=0; g< resim_sayisi; g++)
            {
                if(g!=active_resim)
                {
                    eval("buton_movie"+g).container._alpha=50;
                    }
            }
            _root.maske.gotoAndStop(1);
            _root.maske.resim.unloadMovie();
            _root.maske.resim.loadMovie(f_resimler[substring(this._parent._name,12,2)],5);
            //txt1.text = "urun_detay.aspx?UrunID=" + UrunID[d];
            //trace(UrunID[d]);
            if(_root.maske.resim.getBytesLoaded()==_root.maske.resim.getBytesTotal())
            {
                preloader._visible=false;
            _root.maske.gotoAndStop(2);
            }
            else
            {
                preloader._visible=true;
                
            }
            
            //UrunID.onPress = function() { 
            txt1=UrunID[substring(this._parent._name,12,2)];
        }
        
        // duplicateMovieClip("UrunID","UrunID"+d,d);
        
        /////////////////// click büyük resim ////////////////////

            
            //UrunID.onPress = function() { 
            
        
            
            
        
        
        ///////////////// roll over event /////////////////////////
            eval("buton_movie"+d).buton.onRollOver= function()
        {        
            this._parent.container._alpha=100;
        }

        ///////////////// roll out event /////////////////////////
            eval("buton_movie"+d).buton.onRollOut= function()
        {
            if(substring(this._parent._name,12,2)!=active_resim)
            {
                this._parent.container._alpha=50;
            }
            
        }
                    
        _global.res_sayi=resim_sayisi;
    } 
    
}
else 
{ 
content = "dosya yüklenemedi";
}

}
UrunID.onPress = function() {
getURL(“urun_detay.aspx?UrunID=”+txt1,"_self");
}

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
//xmlData.load(“http://dns/cilek/turkce/seri_xml.aspx?seriID="+_root.id+"&onay=”+_root.onay);
xmlData.load(“resim.xml”);

Any help is greatly appreciated.