Set window on
Set window layout 1,1,1
Set window position 350,300
Set window size 640,480
start:
cls rgb(255,255,255)
RESTORE WINDOW
set text font "book" : set text size 20
set text to bold : set text transparent
INK 0,0
randomize timer ()
a=rnd(2)
if a=0 then goto start
if a=1 then load animation "1.avi",1
if a=2 then load animation "2.avi",1
play animation 1, 100,100
loop animation 1
goto second
second:
wait key
goto start
ive not tidied up the code yet as im still working on it but i have posted an example above, i hve changed the program to load between just 2 .avi's and ive attached them below:
www.pcspares.eclipse.co.uk/Project.zip
the above code is one with sync taken out, much help would be appreciated.
ive also noticed that when i test the full program when i click on a button to restart an error code pops up at random times saying error code 2004 (or 2002) could not find animation.....blah blah.
thanks for any help.
we may be many nations but we are only one human being.