Bonjour,



Je ne suis pas programmer mais designer. je suis entrain de faire mon site qui comporte plusieurs galleries d'images.

voici ma question :

J'ai créé un bouton avec ce code dans flash :

on (press) {
pictures.contentPath = ("images/commercials/bivv.jpg");
}
on (release) {
function loadXML(loaded) {
if (loaded) {
_root.project = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.project_info = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
project.text = _root.project;
project_info.text = _root.project_info;
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("projects.xml");
}


voici mon fichier XML :

<?xml version="1.0"?>

<projects>
<person>
<name>//:project - bivv/ibsr - crash test dummies</name>
<comment>:: view quicktime ::</a></comment>
</person>
</projects>


j'aimerais que le :: view quicktime :: amène à loader une page html

J'ai essayé d'ajouter ce code html dans le xml <a href="http://blabla.com/blabla.html" target="_blank"> comme ci dessous :

<?xml version="1.0"?>

<projects>
<person>
<name>//:project - bivv/ibsr - crash test dummies</name>
<comment><a href="http://blabla.com/blabla.html" target="_blank">:: view quicktime ::</a></a></comment>
</person>
</projects>


je suppose qu'il faut changer le AS sur le bouton flash mais je ne trouve pas la réponse. J'espère que vous pourrez m'aider.

merci d'avance