I want to make the backstop for circle , can u help me?

hi every one

how i can make a backstop for circle ?
for example : i have a circle and it movie clip , and i have a line in the scene , i want when the circle touch the line , his motion stop .
" the line as the wall , and it movie clip "
"and the circle motion is action script "

thanks .