Такой вопрос:отображаются картинк необходимо, чтобы на одной строке отображалось 3 штуки, остольные переносились на новую строку.

Код:
Stage.align="LT"
Stage.scaleMode="noScale"
asdfsdfsdf=new Object();
asdfsdfsdf.onResize=function(){
trace("- "+Stage.width)
if (Stage.width>_ttt._width*3){
Stage.height = ttt._height*2;
}
}
Stage.addListener(asdfsdfsdf)
Image = [{id:1, title:"tuning.jpg"}, {id:2, title:"531.jpg"}, {id:3, title:"462.jpg"}, {id:2, title:"531.jpg"}, {id:3, title:"462.jpg"}, {id:2, title:"531.jpg"}, {id:3, title:"462.jpg"}];
for (var i = 0; i<Image.length; i++) {
img_mc = this.attachMovie("Pict", "Img_mc"+this.getNextHighestDepth(), this.getNextHighestDepth());
//img_mc.img_mc.loadMovie(Image[i].title);
bbb = new MovieClipLoader();
bbb.onLoadInit = function(_ttt) {
k = 0;
n = 0;
if (_ttt._width>_ttt._height) {
k = _ttt._width/_ttt._height;
_ttt._width = 100;
_ttt._height = 100/k;
} else {
n = _ttt._height/_ttt._width;
_ttt._height = 100;
_ttt._width = 100/n;
}
_ttt._x = _ttt._parent._width/2-_ttt._width/2;
_ttt._y = _ttt._parent._height/2-_ttt._height/2;
};
bbb.loadClip(Image[i].title, img_mc.img_mc);
img_mc._x = i*img_mc._width;
img_mc.title_txt.text = Image[i].title;
}
