Bonjour,
j'ai un petit problème de concatenation et je comprend pas d'où ça viens :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
for (var i = 0; i<noeuds.length; i++) {
		 var dice = Math.round(Math.random()*15)+5;
		//nom du projet
		var type_media = noeuds[i].attributes.type_media;
		var nom = noeuds[i].attributes.nom_media;
 
		//On crée un clip vide et le positionne
		var img = this.createEmptyMovieClip("img"+i, i);
		img._x = (i%5)*110+10;
		img._y = Math.floor(i/5)*110+10;
		//mettre ici le code qui lance l'anim à t+1
		//On charge le clip externe dans view
		var view = img.createEmptyMovieClip("view", 0);
		view.loadMovie(type_media+".swf");
		view.gotoAndPlay(dice);
		//On enregistre les infos pour les passer au popup media.php     
		img.width = noeuds[i].attributes.width;
		img.height = noeuds[i].attributes.height;
		//On affiche l'image dans un popup lors du clic
		fen = this.type_media + ".php?id=" + this.nom,
		img.onRelease = function() {
			popup(fen, this.width, this.height);
		};
	}
la fonction popup me lance la fenêtre .php?id=
alor que j'attend plutôt son.php?id=fichier

merci