Construction: Tangents to a Circle from a Point Outside the Circle APS

This applet shows how to construct tangents to a circle from a point outside the circle.
1. What happens when the point A is inside the circle ? 2. What happens when the point A coincides with point M ?