Código PHP:
function callImages() {
_root.myImages_mc=_root.myGallery_mc.createEmptyMovieClip("myImages_ mc",_root.myGallery_mc.getNextHighestDepth());
var myMCL:MovieClipLoader = new MovieClipLoader();
var tempWidth=0;
for (i=0; i<_root.myImagesTotal; i++) {
imageURL=_root.myImages[i].attributes.url;
image_mc=_root.myImages_mc.createEmptyMovieClip(i,_root.myImages_mc.getNextHighestDepth());
image_mc._x=tempWidth;
tempWidth+=image_mc._width;
myMCL.loadClip(imageURL,image_mc);
}
}
no se si funcionara ya que no entiendo muy bien tu codigo XDXD
pero en ves de multiplicar el ancho por las cantidad de imagen mejor es sumar