package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var x = 100;
var y = 51;
if (x>50 && y>50) {
// Code here executes only if x and y are greater than 50
}
}
}
}