holas...
 
estoy apunto:
 
Estoy cargando desde un xml botones con la función attachMovie.
La carga del XML me entrega la categoría y el total de consultas realizadas a esa categoría.
Es decir:
 
categoria(ActionScript)
total(5)
 
categoria(3d)
total(2)
 
Etc...
 
Hasta aquí super bien. El punto es como creo una condición que me permita decirle al MovieClip atachado (cargado con la categoría actionscript) que valla a gotoAndStop('ac').
 
 
function setListe() {	
	for (i=cantidad; i< maxtotal;i++) {	
			nName = "bot" + j;
			attachMovie("bot", nName, j++);
		if (news_xml[i] != undefined) {			
			this[nName]._x = -50 + this[nName]._height * j * 2;
			this[nName]._y = 90; 
			this[nName].categoria.text = news_xml[i].attributes.categoria;
			this[nName].subtotal.text = news_xml[i].firstChild.attributes.subtotal;
			this[nName].useHandCursor = false;
			this[nName].onRelease = function() {
				botones();
				}
		} else {		
			this[nName].removeMovieClip();			
		}
	}
}
function initNavigation() {
	j=0;
	total = news_xml.length;	;
	max = 30;
	maxtotal = 5;
	cantidad = 0;
}
 function botones(){
	categoria.text === "actionscript";{
		if(_root.gotoAndStop('ac'));
		}
} 
 
La función botones() debería ir a distintos frames.
 
Les agradecería me ayuden con la función botones.
 
Gracias. 
   
 

