public class Main extends Sprite{ public function Main(){
var sUsername:String = "Joe"; var sPassword:String = "oass";
if (sUsername == "Joey"){ if (sPassword == "isAwesome"){ trace("That is the correct username and password."); } } if (sUsername == "Joey" && sPassword == "isAwesome"){ trace("That is the correct username and password."); } } } }
Related Scripts with Example Source Code in same category :