Checking Multiple Similar Or's in an if statement. [AS2]
Hello, I know this is probably a very obvious question, but I'm new to flash.
Can I do something like,
if (jellyfish == 3, 74, 95, || 1006) {
//Do Stuff
}
Or would I have to do:
if (jellyfish == 3 || jellyfish == 74 || jellyfish == 95 || jellyfish == 1006) {
//Do Stuff
}
Let me know if there is something closer to the first one, or if I'm going to have to have pages within one if statement.
Thanks,
Christopher
