How do I fix these errors?
Hello, I have created the below code on adobe flash c6 on actionscript 3.0.
BENTER.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_3);
function fl_ClickToGoToScene_3(event:MouseEvent):void
{
VARBOXSKYLOS = boxskylos.text;
if(VARBOXSKYLOS == "skylos") ||(VARBOXSKYLOS == "σκύλος") ||(VARBOXSKYLOS == "σκυλος") ||(VARBOXSKYLOS == "ΣΚΥΛΟΣ"))
MovieClip(this.root).gotoAndPlay(1, "bravo");
else {
MovieClip(this.root).gotoAndPlay(1, "xana");
}
}
I am getting these errors:
1084: Syntax error: expecting indetifier before logicalor
1084: Syntax error: expecting semicolon before rightparen
Also my stop cpmmand which i have put at the end of the scene doent work.
what i am doing wrong? Thank you!!!
