Bonjour,
il me semble que tu mélanges plusieurs choses ensembles
tabimage = new Array();et ensuite
_root.tabimage.onEnterFrame = function (){
if (scrolling){
this._x += Math.cos((-_root._xmouse/Stage.width)*Math.PI)*15;
if (this._x>0) {
this._x = 0;
}
if (-this._x>(this._width-Stage.width)) {
this._x = -(this._width-Stage.width);
}
}
}
dans ta fonction, le this se rapporte à tabimage qui est une tableau... effectivement ca doit pas beaucoup bouger...
change
_root.tabimage.onEnterFrame = function (){par
this.onEnterFrame = function (){mais la, ca va être toute l'animation qui va bouger...
Aussi, ne met la variable scrolling a true qu'une fois ton xml chargé (onload)
@+
