Simple problem... hopefully

Code:
var newVar1 = 1
var newVar2 = 4

if((newVar==1)and(newVar2==4)){
	trace("hello world")
}
the above works in AS2 but not AS3... what am I missing?