Creating a border(perimeter)

I am trying to create a simple car game in flash mx 2004 and would like to make it so it is not possible for my car to leave the screen. Does anyone know a way to create some sort of border that the car wont be able to pass, or any other way to stop the car? Thanks!!