Mam poważny problem, bo chcę skończyć projekt i męczę się z jedną rzeczą, a mianowicie, jak w pliku xml zrobić, żeby we flashu mi pokazywał linki jak w htmlu.
To jest kod AS:
A tutaj mam kod z xmlfunction process(var_xml)
{
biografie_angel = var_xml.firstChild.childNodes[0].firstChild.nodeValue;
biografie_maxx = var_xml.firstChild.childNodes[1].firstChild.nodeValue;
biografie_gino = var_xml.firstChild.childNodes[2].firstChild.nodeValue;
biografie_elena = var_xml.firstChild.childNodes[3].firstChild.nodeValue;
play ();
} // End of the function
stop ();
bio_xml = new XML();
bio_xml.ignoreWhite = true;
bio_xml.onLoad = function (success)
{
if (success)
{
process(bio_xml);
} // end if
};
bio_xml.load("music/info.xml");
[xml]
<biografie>
<angel>biografia</angel>
</biografie>[/xml]
Potrzebuje takie cos, że jak wpisze mu np w
<biografie>
<angel>Grałem w Radiu Jaworzno</angel>
</biografie>
to Radiu Jaworzno, będzie linkiem do innej strony.
Da się cos takiego wykonac z tym kodem, co mam?
Proszę o szybką pomoc.
Z góry thx