voila j'ai un probleme avec ce script :

----------------------------------------------------------------------------
import mx.utils.Delegate;

class com.Imagesliste {

private var monXml:XML;
private var cheminImage:String;
private var noeuds:Array;
private var largeur:Number;
private var hauteur:Number;
private var espace:Number;
private var nbr:Number;
private var largeurTotale:Number;
private var diaporama:MovieClip;

public function Imagesliste(fichierXml:String) {
//creation d'un xml
monXml = new XML();
//ignorer les espaces blancs ds le Xml
monXml.ignoreWhite = true;
//chemin de la video
cheminImage = "Images/";
//charge le xml
chargeXml(fichierXml);}

public function chargeXml(fichierXml:String):Void {
monXml.onLoad = Delegate.create(this, gestionXML);
monXml.load(fichierXml);
}

public function gestionXML(success):Void {
if (success) {
//trace (this.monXml);
//récupération des noeuds du Xml
var images:Object = this.monXml.firstChild.childNodes;
/*trace ("essai2");
trace (videos);*/

for (var i = 0; i<images.length; i++) {
noeuds = monXml.firstChild.childNodes;
largeur = monXml.attributes.largeur;
hauteur = monXml.attributes.hauteur;
espace = 25;
nbr = noeuds.length;

largeurTotale = nbr*(largeur + espace) + espace;

this.createEmptyMovieClip("diaporama", 0);
diaporama._y = 50;

for(var i = 0; i < nbr; i++) {

var mc = diaporama.createEmptyMovieClip("image"+i, i);
mc._x = espace + (largeur + espace)*i;
mc.loadMovie(monXml.attributes.fichier);

mc.nombre = i;

/*mc.onRollOver = function() {
commentaires.text = "Photo n°" + this.nombre + " : " + infos[this.nombre];
}

mc.onRollOut = function() {
commentaires.text = "";
}
}*/

onMouseMove = function() {
diaporama._x = (600 - largeurTotale)/600*_xmouse;}
}
}
}

}}
----------------------------------------------------------

merci