Bonjour;
j'ai un calque qui contient un clip nommé screen. D'autre part, j'ai un action script qui récupère un arbre XML via une page PHP et génère des clips a afficher dans screen. Seul soucis, mon code est bien executé (débugueur à l'appui) mais rien n'apprait dans screen... pourriez vous me dire d'ou ça vient???
MERCI!!!

le code de mon fichier as est:
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
class LoadCollections{
	function LoadCollections(xmlpath_str:String, parent_mc:MovieClip) {
		var DOMCollections:XML = new XML();
		DOMCollections.ignoreWhite = true;
 
		DOMCollections.onLoad = function(success:Boolean) {			
			if (success) {				
					for (var j = 3; j<collection.childNodes.length; j++){
						var gamme = collection.childNodes[j]
						var gammeId = gamme.childNodes[0].firstChild.nodeValue;
						var gammeName = gamme.childNodes[1].firstChild.nodeValue;
						var gammeTexte = gamme.childNodes[2].firstChild.nodeValue;
						var gammeImage = gamme.childNodes[3].firstChild.nodeValue;
 
						var gammeMC:MovieClip = parent_mc.attachMovie("gamme", "gam"+i+"_mc", i);
						gammeMC._visible = true;
						gammeMC.texte.htmlText = "<b>"+gammeName+" : </b><br/>" +gammeTexte;
						loadCollectionPicture(gammeMC.image, gammeImage);
						//gammeMC._visible = true;
... ... ...
}
private function loadCollectionPicture(clip, jpg) {
	var mcLoader:MovieClipLoader = new MovieClipLoader();
	mcLoader.loadClip(jpg, clip);
que j'appel depuis mon calque de la façon suivante:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
new LoadCollections("getCollections.php",this.screen);
Encore Merci!