Field of sight

Hello.

I have a bit of a problem because i’m new to as3 and want to create a field around the object in which it could later on notice things. Things inside this field are seen and those outside not. Does anyone has any idea how to do it?