attachMovie

for (gridrow=0; gridrownewGrid = _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://scyanting.com/article/jogggg.html