Mask manipulation

I can’t find a solution to my problem. Here it is:

I have a maze-like background that needs to stay put. I have a block/character that will move through the maze. I want to make a masked area around the block so that the user can only see that area and the rest is blacked out. As the user moves more of the maze will be displayed. I am using the keyboard to move the block.

How do I move the masked area and the block around the maze without moving the maze or revealing any more than I need to?

Thanks in advance for any help you can provide. I’m fairly new to this flash thing so I greatly appreciate being pointed in the right direction at least.


hmm… well I wouldn’t use a mask layer, if that’s the way you’re going.

You could, on a new layer, above the others, create a large square of fill. Then, in the middle of the fill, create a hole, so to speak. Then selecting the fill, you can make it a movie clip, and make it move, according to where the block is.

I’ll see if I can come up with something a little more descriptive for you.

Thanks – I sort of understand where you’re going with that. I’m going to try that. I really appreciate the help because I was at a complete loss.