Flash MX vs Adobe After effects?

Flash MX vs Adobe After effects??

Does anyone know the fundamental differences between these two packages? What if any are the limitations of After Effects that make MX so much more popular.

any insights into this would be most appreciated