Una cosa del genere:
codice:
on(release) {
if (_root.user.text=="mario" && _root.pass.text=="rossi") { 
_root.gotoAndPlay(2); 
} else if (_root.user.text=="giuseppe" && _root.pass.text=="boooo") { 
_root.gotoAndPlay(3); 
	} else {
_root.gotoAndPlay(4); 
}
}