su un frame
codice:
filexml = "news.xml";



mioxml = new XML();
apparray = new Array();
mioxml.load(filexml);
mioxml.onLoad = Metti;
function Metti (success) {
	if (mioxml.loaded) {
		apparray = mioxml.childNodes;
		Dati();
		MenuBar();
		loaderxml = "";
	}
	;
}
;
function MenuBar () {
	newsmax = ladata.length-1;
	//trace(newsmax)
	newscounter = 0;
	for (i=0; i<=newsmax; i++) {
		clipnews.attachMovie("tabnews", "tabnews"+i, i);
		clipnews["tabnews"+i]._x = 1;
		clipnews["tabnews"+i]._y = 125*i;
		clipnews["tabnews"+i].data = ladata[i];
		clipnews["tabnews"+i].notizia = lanotizia[i];


		if (i<9) {
			clipnews["tabnews"+i].numero = "0"+(i+1);
		} else {
			clipnews["tabnews"+i].numero = (i+1);
		}
		;
	}
	;
}
;
function Dati () {
	ladata = new Array();
	lanotizia = new Array();
	// note = new Array();
	// trace(apparray);
	for (k=0; k<=apparray.length; k++) {
		if (apparray[k].nodeName == "news") {
			ladata.push(apparray[k].attributes.data.toString());
			lanotizia.push(apparray[k].childNodes.toString());

			// note.push(apparray[k].attributes.note.toString());
		}
	}
	;
}
;
sul clip istanziato clipnews
[/code]

onClipEvent (load) {
this._y = 200;
// x_fin=8;
}
onClipEvent (enterFrame) {
y = _y;
y_fin = ((-_parent.newscounter)*125)+70;
dy = y_fin-y;
dy /= 2.5;
_y += dy;
// trace(_x)
}
[/code]
nel clip changer
codice:
if ( _root.newscounter >= _root.newsmax){
_root.newscounter=0}

else {
_root.newscounter++
};
su un altro clip
codice:
onClipEvent (load) {
	x_fin = this._x;
	x_iniz = this._x;
	y_iniz = this._y;
	max_escursione = this._x+125;
	drag = false;
}
onClipEvent (enterFrame) {
	if (drag == false) {
		x_fin = (_parent.newscounter/_parent.newsmax)*125;
		
		x = this._x;
		dx = (x_fin-x)+x_iniz;
		dx /= 2.5;
		this._x += dx;
	}
}
onClipEvent (mouseDown) {
	if (hitTest(_root._xmouse, _root._ymouse, true)) {
		drag = true;
		startDrag (this, false, x_iniz+1, y_iniz, max_escursione+1, y_iniz);
	}
	;
}
onClipEvent (mouseUp) {
	if (drag == true) {
		drag = false;
		stopDrag ();
		_parent.newscounter = Math.round((_parent.newsmax/125)*(this._x-x_iniz));
		
	}
}
se nn è chiara la struttira posso inviarti anche il fla se ti è possibile grazie per l'interessamento