Flash 8 "if" statements?

  • Thread starter Thread starter jordan p
  • Start date Start date
J

jordan p

Guest
I'm making a point and click game in Flash 8, and I was wondering how to make doors unlock after certain events. I want a door to unlock after you type in a correct password. I just need some actionscript. So far, I have:

if(passw == ){
on(release)
gotoAndPlay(67);
}else{

"passw" is my instance name for the password, "0824". I need to know what comes after the "==" and what comes after the "}else{".
 
Back
Top