Non so se ho capito bene, tu hai l'xml giusto (con il nome dell'immagine) ma non hai il codice per leggere e visualizzare tale immagine?
Se è così incominciamo a fare questo:
Codice PHP:
if (loaded) {
_root.persone = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.images = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
name_txt.text = _root.persone;
comment_txt.text = _root.comments;
image_txt.text = _root.images;
Creati un altro campo di testo dinamico e scrivi il nome dell'immagine, controlla che lo script riesca a recuperare il nome dell'immagine. Poi se il nome è corretto modifica il codice in questo modo:
Codice PHP:
if (loaded) {
_root.persone = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.images = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
name_txt.text = _root.persone;
comment_txt.text = _root.comments;
//image_txt.text = _root.images;
picture.loadMovie(_root.images);
Non l'ho provato ma dovrebbe essere così...credo