Multiple operands with "or" operator (syntax question)

Hey, how can I shortcut the syntax on multiple operands using the “or” operator? Does each statement have to be explicitly written out?

For instance, this is not allowed (just ignored by Flash) :


function rezOther() {
if (System.capabilities.screenResolutionY != 480,600,768,864,1024,1200 && System.capabilities.screenResolutionY < 1200) {
..........and so on

Or must Flash have it as:


function rezOther() {
if (System.capabilities.screenResolutionY != 480 || System.capabilities.screenResolutionY != 600 || System.capabilities.screenResolutionY != 768 || System.capabilities.screenResolutionY != 1024 && System.capabilities.screenResolutionY < 1200) {
..........and so on

Also, if I have to write a looooooooooonnnnnng line of AS like in the code window above, can I just go to the next line without Flash crying about it or does it all have to stay on the same line (not wrapped…)?