How do you create a Fog of War effect?

How do you create a Fog of War effect using ActionScript 3.0? The exact effect I would like is to have an overlay on a scene (or map) that is black but the opacity/alpha/transparency is 50%. The visible area around the player would be a half circle. How could you go about creating this effect?