MPG4")

   ' Each frame displayed for 25ms
   cAVI.FrameDuration = 25

   ' AVI name:
   cAVI.Name = "My Movie"

   ' Output file name:
   cAVI.Filename = App.Path &amp; "\mymovie.avi"
</pre><h3>2. Creating an AVI Stream to Write To.</h3><p>
In order to create an AVI stream, you also provide 
the first image to write.  This is an object of type <span class="code">cBmp</span>,
which you can create from a bitmap on disk using it's <span class="code">Load</span>
method:
</p><pre>
   ' Variables to allow files 