anyone tell me is this not how its done?
on (release, keyPress “<Enter>”) {
if (password eq “caleb”) {
tellTarget ("_root") {
gotoAndStop(“private”);
}
} else {
tellTarget ("_root") {
gotoAndStop(“error”);
}
}
it contains syntax error: pls any help appreciated: