# Exit projector file after 3 times login attempt fail

**URL:** <https://forum.kirupa.com/t/exit-projector-file-after-3-times-login-attempt-fail/149357>\
**Category:** Uncategorized\
**Created:** [May 28, 2005, 4:48am UTC](https://forum.kirupa.com/t/exit-projector-file-after-3-times-login-attempt-fail/149357 "2005-05-28T04:48:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixeldude](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pixeldude](https://forum.kirupa.com/u/pixeldude)\
**Post date:** [May 28, 2005, 4:48am UTC](https://forum.kirupa.com/t/exit-projector-file-after-3-times-login-attempt-fail/149357/1 "2005-05-28T04:48:38Z")

</div>

Hello all kirupian just need little help with my silly question…but who’s care…:)…ok here i just want to make it quit the projector file after user 3 times login fail …here;s my snippet code…

```auto

stop();

stage.showMenu = false;
fscommand("fullscreen",true);
btn.onPress = function(){
  if (username.text == "test" & password.text == "123"){//cek input user
     _root.gotoAndStop(2);
  }else{if (username.text!=="test"&& password.text!=="123"){
              _root.gotoAndStop(1);
	          _root.username.text = '';
              _root.password.text = '';
	  // trace("wrong input");
	  // fscommand ("quit","TRUE");
           }else{ if (username.text!=="test"&& password.text!=="123"==3){
			                 fscommand ("quit","TRUE");
		              }
			   
 }
}
}

```

hope someone can give me guide to figure out it…tq anyway…
