And If

Is there any way to write AND IF statements in actionscript? i’m trying do something along the lines of having it work so that if an input field=“specific input” and a hit counter on a button is a certain value it goes on to the next frame… otherwise not, but i can’t get the AND IF portion to work at all.

if (something && something else) {}

something like that? or else you could do a buncha if’s…

if((x==0) and (y==0)){