Something strange is going on here, here is your modified code I ran
sync on
sync rate 0
set text opaque
flush video memory
cls
sync
for i=1 to 2000
if animation exist(1)
print "animation exists - deleting animation"
delete animation 1
else
print "animation does NOT exist"
endif
load animation "f16-1.mov",1 :`use your own movie file here!!!
if animation exist(1)
print "animation loaded ok ";i
endif
sleep 1
if i<=10 or i>=100
print "Press any key to continue"
sync
wait key
else
sync
endif
next i
print "ALL DONE!"
sync
wait key
My machine, older with a 64meg video card stops after 103-104 loops.
Program Hangs, I have to use Windows Task Manager to quit program.
Windows XP Pro SP2, 1 GB RAM, GeForce 3 Ti/200 64MB
I put 'Flush Video Memory' both inside and outside the 'For' loop,
didn't seem to make any difference.