Confused

Jeg har været igang med at kigge på en tutorial omkring login og pass på flash sites. Det er så også vældig godt, men når jeg vil teste min movie så kommer den med følgende fejl:

1084: Syntax error: expecting rightparen before eq.

Linien det drejer sig om er:

if ( LoginSystem.Password.length == 0 | LoginSystem.Password.length == "" | LoginSystem.Password eq "") {

Nedenfor har jeg vist hele koden for at give en større forståelse.
Umiddelbart ser det ud til at koden er god nok. Jeg må have stirret mig blind på et eller andet.

Er der en her i forummet der kan tjekke koden og komme med svaret?

På forhånd tak for hjælpen.

// This sets the default starting message when the movie first loads
var Guide = "Please Enter Your User Name And Password";

// Declares a global function which can be called any time from any where in the flash movie
_global.nextcheck = function() {

// Checks the password to see if anything has been typed in or if it is empty
if ( LoginSystem.Password.length == 0 | LoginSystem.Password.length == "" | LoginSystem.Password eq "") {

// Alerts the user that their password is incorrect
LoginSystem.Guide = "No Password Entered Please Try Again";

// Stops the movie from going to the next frame
stop();

// Checks to see if the password is only full of spaces
} else if (LoginSystem.Password.isWhiteSpace()){

// Alerts the user that their password is incorrect
LoginSystem.Guide = "Sorry Incorrect Password Entered Please Try Again";

// Stops the movie from going to the next frame
stop();

// Checks to see if the password is right or not
} else if (LoginSystem.Password == "wasp") {

// If the password is correct movie on to the next frame of the movie
nextFrame();

} else {

// If the password is wrong then alert the user that it's wrong
LoginSystem.Guide = "Sorry Incorrect Password Entered Please Try Again";

// Stops the movie from going to the next frame
stop();
}
};
// Stops the movie from going to the next frame
stop();