package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var inputPW:String = "HaXoR"
var storedPW:String = "haxor";
if (storedPW.toLowerCase() == inputPW.toLowerCase()) {
trace("Login successful");
} else {
trace("Login error");
}
}
}
}