so I'm trying to create a maze that has a flashlight effect around the circle that travels through it. I have the masking working but right now I have the flashlight effect and circle as one movieclip and that messes with my collision detection. when I enter the movieclip to give the circle its own instance name to work with my code, I get a lot of errors. how do I keep the collision detection to the center, I guess is what I'm asking.
Not sure how well this will work, but that's what I would try.
Instead of making the circle for the flashlight, make the darkness around it:
Create a big dark translucent block and delete a small circle in the middle.
The deleted part (the hole) is now the light from the flashlight.
Everything in the dark must be behind the "darkness block".
EDIT: I noticed this other older thread about flashlight effects - that may help you too: http://forums.adobe.com/message/3081045#3081045