Does anyone know how to create a pendulum moving back and forth and make the circular object scale properly as it gets closer and further away?
You simply keyframe the relevant properties. Basic AE stuff. Start to learn.
For a pendulum look here: Dan Ebberts Expression Guide
Dan's site, http://motionscript.com/, is an amazing resource for motion simulations using expressions and everything else you want to automate. Every AE pro I know has it bookmarked.
Retrieving data ...