var boxArray:Array=new Array();
var boxIdx:int=boxArray.length;
boxArray.push(new Box());
boxArray[boxIdx].percentWidth=100;

Why not...?

boxArray[boxIdx].horizontalAlign="center";

- Stephen

Reply via email to