Collision for basketballGame (Colliding ball and basketball Net)

ok i am currently creating a basketball game using flash actionscript. i need help in throwing the ball into the rim and out from the net… i can detect the board using HItTest methods. The ball bounces off everytime it touches the board. but how to make the ball collide with the rim detecting it and drop into the basketball net ???.