With CS5, you can switch on the Auto-animate button in the Timeline. But it creates more problems should you only want to edit a value without wanting a keyframe. issues crop up when you make multiple edits to the property at different times cos you will end up with LOTS of keyframes.
The old school way as Dave has pointed you to works well.
AE Training in South East Asia. AE templates for sale and rental. Click here for more