Hi all.
ok i wanna load a password and username from an xml file and validate it against entered user/ pass.
sumink like this:
var loginxml:XML = new XML();
loginxml.ignoreWhite = true;
loginxml.onLoad = function(ok:Boolean){
if (ok){
trace("loaded loginxml.xml");
trace(loginxml.what do i place here?);
}else{trace("error loading loginxml.xml");}
}
loginxml.load("loginxml.xml");
the loginxml sumink like this
<login username='username' password='password'>
how do i access the values of username and password?
trace(loginxml.what do i place here?);
cheers all.