Also, AVI's in 3DGS react differently on different machines. (or at least did, back when I attempted them back in Version 5.05)
I had an avi file that I could view outside of 3DGS using realplayer on two different machines.
When 3DGS ran on one machine, the Avi played and worked fine, and on the other machine, the AVI did not work at all. (It seemed to ignore the AVI altogether)
I had heard that the only way to gaurentee that an AVI will be viewable on all machines from 3DGS is to make sure there is NO compression. Otherwise, it was a crap shoot as to what video codecs 3DGS could find on your machine.
I hope that's not the case anymore, but before you go to far, try your AVI code on a couple different machines, just to be safe.
- WildCat