Переписал так:

Код:
var my_xml:XML = new XML();
my_xml.ignoreWhite = true;
var speed:Number = 5;
my_xml.onLoad = function(success:Boolean) {
if (success) {
var total = my_xml.firstChild.childNodes.length;
for (var i=0; i<total; i++) {
var container:MovieClip = _root.createEmptyMovieClip("cont"+i+"_mc", i);
var image:MovieClip = container.createEmptyMovieClip("image"+i+"_mc", 1);
image.loadMovie(my_xml.firstChild.childNodes[i].attributes.small);
container._x = eval("cont"+(i-1)+"_mc")._x+150;
container._y = Stage.height/2 - (113/2);
container.tot = total;
container.num = i;
container.onEnterFrame = mover;
container.onRollOver = bigger;
container.onRollOut = smaller;
}
}
}
function mover() {
if (_xmouse <= Stage.width-150) {
if (eval("cont"+this.num+"_mc")._x+150 < 0) {
eval("cont"+this.num+"_mc")._x = (this.tot-1)*150;
}
eval("cont"+this.num+"_mc")._x -=10;
}
if (_xmouse >= 150) {
if (eval("cont"+this.num+"_mc")._x > Stage.width) {
eval("cont"+this.num+"_mc")._x = -150;
}
eval("cont"+this.num+"_mc")._x +=10;
}
}
Эффект тот же.
Не понял что трейсить?
При
trace(this); выдает:
level0.cont9_mc
level0.cont8_mc
level0.cont7_mc
level0.cont6_mc
level0.cont5_mc
level0.cont4_mc
level0.cont3_mc
level0.cont2_mc
level0.cont1_mc
level0.cont0_mc
по идее все клипы на месте.
Они почему-то как бы накладываются один на другой. Я не понимаю почему...
Жду помощи.