Anuther unsolvable problem

Im making a maze game and i need some coding for the walls so my mc cant walk though them. any ideas? btw, i have flash mx 2004 prof if it helps

character - guy_mc (instance)
walls - walls (instance)

bye.