home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 63 / CDACTUAL63.iso / Aplicaciones / DarkBasic / DemoDarkBasic.exe / help / examples / anim / exam02.dba < prev    next >
Encoding:
Text File  |  2000-04-09  |  729 b   |  27 lines

  1. Rem * Title  : Load and Loop AVI
  2. Rem * Author : DBS-MB
  3. Rem * Date   : 1st August 99
  4. rem ==========================================
  5. rem DARK BASIC AVI ANIMATION EXAMPLE PROGRAM 2
  6. rem ==========================================
  7. rem This program will load and loop a AVI file
  8. rem ------------------------------------------
  9.  
  10. rem Specify your AVI filename and an animation number
  11. load animation "avi\demo1.avi",1
  12.  
  13. rem Place your AVI in the top left corner of the screen
  14. place animation 1,0,0,animation width(1),animation height(1)
  15.  
  16. rem Will play your AVI animation
  17. loop animation 1
  18.  
  19. rem Will wait for you to press any key
  20. suspend for key
  21.  
  22. rem Delete the animation
  23. delete animation 1
  24.  
  25. rem End the program
  26. end
  27.