while (total>0) { duplicateMovieClip("_root.models.prototype", "model"+total, total); _root.models["model"+total]._x = this["pos"+total--]; }