non so come tu abbia creato le regioni ma la cosa più banale, e anche meno bella e funzionale, è crearti dei campi di testo (x ogni regione) che tieni nascosti e onRollOver rendi ._visible.
codice:
...
_root.testoA._visible = false;
...
...
... if (mioxml.loaded){
myarray=mioxml.firstChild.childNodes;
for (k=0; k<myarray.length; k++) {
quantita =myarray[k].attributes.quantita
_root.testoA.text = myarray[0].attributes.quantita;
_root.testoB.text = myarray[1].attributes.quantita;
_root.testoC.text = myarray[2].attributes.quantita;
}
}
sul bottone
codice:
on(rollOver){
_root.testoA._x = _root.bt._x;
_root.testoA._y = _root.bt._y;
_root.testoA._visible = true;
}
on(rollOut){
_root.testoA._visible = false;
}
bt è il nome del mio bottone
testoA ecc... il nome del campo testo
ribadisco, non è per nulla bello come metodo. conviene fare tutto in modo totalmente dinamico. magari l'hai già fatto e questo metodo poco efficiente non ti serve a nulla