AVI is rendering what the shows?

I am working on an animation but when I render it as an animation in any of the AVI outputs it renders what is in the viewport, i.e. armatures, no shadows, no sky, it is like animating what you see in camera view in solid textures. Anyone know why this is happening?

What version of blender, could you attach image and affected blend file. Remove anything that isn’t relevant so small enough to attach or use another hosting site.

you may be ctrl-clicking the flash-render icon in the 3D-view header. Try clicking the Anim button in the Properties-Scene-Render-Anim panel.