Lights and Silhouettes

Hi all,

I hope I’m posting this in the right section. First of all, I have Macromedia Flash CS3 and most likely be using ActionScript 2.0.

Here’s the situation. Imagine a room with an object patrolling left and right. This object emits a light. In the room are other random objects like tables, chairs, shelves and so forth. If an object is NOT inside the light, they should be completely black, forming a silhouette. However, if they are IN the light, they should be illuminated, allowing the player to see the object in its true form. As such, if the object is near the edges of the light, it should be around half lit and half dark.

I hope I explained the situation clearly. Now… I’m wondering if this is possible to do in Flash with AS2 and if so, can anyone help me achieve this?

Thanks

JHawks