Trying to start a maze.. but need help

Hi,
i’m starting out a maze game.

The character moves using the mouse but i have problems with collision… can anyone help me??

Is there a way in which i can draw a full maze and make collision effective?

PLS take a look at the .FLA

Thanks…