Dont renderas an .avi, have a look in the basics forum on how to render a movie.
Rendering to the .avi format is more trouble than its worth, you get a huge file size, loose all of the work if it crashed/encounters and error when rendering etc etc
"No pressure, no diamonds" Thomas Carlyle