ok here is problem 1
i want to load the xml file of the user when the user inputs it
on (release) {
gotoAndStop(2);
xml_profile.sendAndLoad(/profiles/+_root.username_txt.text+".xml");
}
i think that is the right code
correct me if i am wrong
problem 2
trying to get the text to check it
hash = calcMD5(thetext);
if (hashed.text == xml_profile.childNodes[2].childNodes[0].nodeValue) {
if (username_txt.text == xml_profile.childNodes[1].childNodes[0].nodeValue) {
gotoAndStop(3);
}
}
btw just for refrence here is the xml
<profile>
<username>testuser</username>
<password>testpassword</password>
<email>test@test.com.au</email>
</profile>
thankyou if you can help and no stealing XD