
| 代码: |
tileBG = function () { tile_width = 26; tile_height = 26; // x_max = Math.round(Stage.width/tile_width); y_max = Math.round(Stage.height/tile_height); trace(x_max); trace(y_max); for (x=0; x<x_max; x ) { for (y=0; y<y_max; y ) { bg = _root.attachMovie("timage", "bg" x y, this.getNextHighestDepth()); bg._x = tile_width*x; bg._y = tile_height*y; } } }; tileBG(); |
| 共3页: 上一页 1 [2] [3] 下一页 | |||
![]() |