This series of tutorials will get you closer to the world of variables and case-by-case analysis. The introduction to Javascript will start with After Effects expressions and continue on to writing scripts that build an entire scene. Expressions and Scripts are used to automate values that would take a long time to keyframe or building scenes containing a lot of similar elements, with a few lines of code.
Tutorial
Download Tutorial .flv
File size 109MB