Buenas noches, mi preguna es la siguiene: como hago para que cuando presione uno de los botones crados por DupliaeMovieClip estos me realicen difrentes acciones eje: gotoAndPlay(); trace("")... y que a su vez, cuado esté sobre el boton, valla al fotograma 2 donde debe de aparecer el texo que hay en el array.

Adjunto el codigo que llevo.

var sec = ["q", "w", "e", "r"];
for (i=0; i<sec.length; i++) {
var b = this.attachMovie("cuadro", "cua", this.getNextHighestDepth());
b._xscale = 35;
b._yscale = 35;
b._x = i*(b._height+20)+40;
b._y = 20;
b.b1.datos_txt.text = sec[i];
b.onRollOver = function() {
this.stop();
};
b.onRollOut = function() {
this.play();
};
b.onPress = function() {
trace("1");
};
b.onPress = function() {
trace("2");
};
}