Billiard ball like physics in Flash

Can someone explain or does someone know a good tutorial on how to turn billiard ball collision physics into code?
I’ve found some stuff from a physicist point of view but that’s just really confusing.