Bonsoir
je suis entrain de créer une gallerie en xml sous swishmax , le probléme que je voudrais inserer un preloader pour les images que je récupere en xml.
voila comment je récupere mon image :
merci
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 onFrame(1) { myXML = new XML(); myXML.ignoreWhite = true; myXML.onLoad = function(success){ if(success){ // the line below load the pictures in an empty movie clip manually created and called imageLoader loadMovie(myXML.childNodes[23].firstChild.firstChild.nodeValue); stop(); } else { } } myXML.load("images.xml"); }
Partager