flash & xml Q - password
flash & xml Q - password
Out of context: Reply #3
- Started
- Last post
- 8 Responses
- unfittoprint0
I don't think it's very wise to make passwords and logins check with XML/Flash. You should leave that to backend scripting php/mysql.
anyway, it's just a question of looping the diffrente nodes, something like:
content = contentXML.firstChild.ChildNodes
for(i=0; i{content.length, i++){
if(content[i].attributes.log == log){
if(content[i].pass == pass){
trace('correct login');
break;
}
}
}