for (gridrow=0; gridrow
newGrid = _root.piont.attachMovie("sys_btn", "sys_btn"+i, i);
newGrid._y = 40*gridrow+i*5;
newGrid.createTextField("a_txt", this.getNextHighestDepth(), 0, 0, 0, 0);
trace(newGrid);
newGrid.a_txt.text = btn1_name;
newGrid.a_txt.autoSize = true;
trace(newGrid);
newGrid.onPress = function() {
trace(newGrid.a_txt.text);
};
i++;
}[@more@]
分享文章:attachMovie
转载源于:
http://bjjierui.cn/article/jogggg.html