Noob needing help

hiya, my names josh, i am a 14 year old student, i am wheelchair bound, i need help, i am making a final fantasy sort of game, i have the background moving instead of the character, i now need to actionscript for making sure my character dont go through walls. if posible could somebody help me.