attachMovie
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://myzitong.com/article/jogggg.html
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://myzitong.com/article/jogggg.html