if (System.capabilities.version != "WIN 8,0,22,0" || System.capabilities.version != "MAC 8,0,22,0") {
//do actions
}
Replace do actions with the actual actions, like show a textbox that says "You cannot view this movie, please upgrade to Flash Player 8. [LINK]." or whatever.. oh and I haven't tried it but it should work.
If there are any errors then just fix the errors, they will only be linebreaks (so join the lines back up again, should be obvious).