amigos tengo el siguiente problema a ver si alguien me puede ayudar
Código:
var opciones:Array = idiomas.firstChild.childNodes;
//creamos el movieclipvacio
for (i=0; i<opciones.length; i++) {
//cargamos cada elemento del xml para los idiomas.
_root.attachMovie("mc_idioma","item_"+i,_root.getNextHighestDepth());
_root["item_"+i]._x = 300;
_root["item_"+i]._y = 200+(i*50);
_root["item_"+i].txt_idioma.text = opciones[i].childNodes;
_root["item_"+i].valor = opciones[i].attributes.path;
_root["item_"+i].btn_item.onRelease = function() {
_root.direccion = this._parent.valor;
nextFrame();
};
lo que deseo es una vez que se dispare el evento del boton pues.. se borre todo lo que se creo con el attachMovie.... y pase al siguiente fotograma
ahora con ese codigo pasa al siguiente fotograma pero aun se ve el anterior fotograma de donde vino.. :D gracias.. :D