H.264 is best, as Flash now supports it. Don't be afraid to down the quality to about the middle setting, you'll still get great video quality, and a smaller files size. Set the two upper controls to Auto.
The APTS book "Compressor Quick Reference Guide" is very cheap and super helpful to learn the details quick and easy.