Hi all,
Sounds simple, but its driving me mad.
I’m loading thumbnails, but there different widths and I need them spaced evenly
imageClip._x = 60*i
This is fine if the thumbs are the same width.
fla. here
var planes_arr = ["images/1", "images/2", "images/3", "images/4", "images/5", "images/6", "images/7", "images/8"];
play_btn.onRelease = function() {
for (var i = 0; i<planes_arr.length; i++) {
var imageClip = thumbs_mc.createEmptyMovieClip("thumb"+i+"_mc", i);
imageClip.loadMovie(planes_arr*+"_th.jpg");
imageClip._x = 60*i;
}
};