Bonjour à tous !
Je suis entrain de créer un site avec une galerie photo dynamique (xlm), le problème c'est que je voudrais que le nom de la photo apparaisse dans un champs texte. J'ai beau cherché je trouve pas ! Ma limite en programmation à été atteint ! Si une âme charitable pouvait ce poser sur mon problème et le résoudre... Il évitera des séances de yoga et une ordonnance avec des antidépresseurs

!

Merci d'avance !
Voici mon code AS :
precedente_btn = prev_btn;
suivante_btn = next_btn;
nav_mc.swapDepths(conteneur_mc);
btn_photos = function ()
{
precedente_btn.onRelease = function ()
{
if (EtaTof == true)
{
--tof;
if (tof == -1)
{
tof = lastTof - 1;
} // end if
afficheTof();
} // end if
};
suivante_btn.onRelease = function ()
{
if (EtaTof == true)
{
++tof;
if (tof == lastTof)
{
tof = 0;
} // end if
afficheTof();
} // end if
};
};
btn_photos();
tof = 0;
afficheTof = function ()
{
step1_loading_Work("img/" + xmlDoc.firstChild.childNodes[tof].attributes.adresse + ".jpg");
lastTof = xmlDoc.firstChild.childNodes.length;
number_mc.nbre = tof + 1 + " / " + lastTof;
};
this.onEnterFrame = function ()
{
if (xmlOK == true)
{
delete this.onEnterFrame;
afficheTof();
} // end if
};
stop ();
et voilà mon fichier XLM :
<?xml version="1.0" encoding="UTF-8" ?>
<images>
<img adresse="01 Jarvis Cocker" <image imagename="photo1.jpg"/>
<img adresse="02 Tricky"/>
<img adresse="03 Cold Play"/>
<img adresse="04 Cat Power"/>
<img adresse="05 Lio"/>
<img adresse="06 David Lynch"/>
<img adresse="07 Goo Goo Dolls"/>
<img adresse="07 Pete Doherty"/>
<img adresse="08 David Holmes"/>
<img adresse="09 Moloko"/>
<img adresse="10 Philippe Katerine"/>
<img adresse="11 Zoot Woman"/>
<img adresse="12 Joe Strummer"/>
<img adresse="13 Brett Anderson"/>
<img adresse="14 Pete Doherty"/>
<img adresse="15 Jarvis Cocker"/>
</images>
Encore merci pour vos réponses !!!!!