I've started the bare bones work of a game in which you need to navigate a ball thru a maze by basically setting the maze up and letting it run its course. Think 'The Incredible Machine'. Right now, im trying to make it so that the ball can roll down a ramp. Since hitTest works only in squares, I was wondering if anyone could point me in the right direction as to how to get this to work. The way i have the ramps set up is quite ghetto, and as you can see only semi functional.
See "Foundation ActionScript Animation Making Things Move!" by Keith Peters, Chapter 10, Coordinate Rotation and Bouncing off Angles. This chapter has the info you need.