Can someone explain to me why this code is not working when I´m authoring in flash layer 7 whit as1.0, but works in flash player 6
legendas = ["histórico", "eventos", "restaurante", "esplanada", "tenda", "igreja dos lóios", "contactos"];
for (i=1; i<legendas.length; i++) {
var bt = _root.attachMovie("button", "btn"+i, i);
bt.label.text = legendas*;
bt._x = 10+x;
bt._y = 430+y;
x += bt._width+5;
}
thanks