#FLC files & MCI
4 messages in this thread
I am experiencing difficulties when playing more than one FLC file as a
sequence under Windows MCI.
At the cut point between the files there is a disturbing gap after the first
file ends and before the second begins where the screen flashes to white. The
only way of overcoming this that I have found using MCI is to actually pre-play
a frame of the second file before going back to play the first one. (Just
preloading is not enough). After this the cut to the second file is smooth with
not visible gap.
Is there a way of overcoming this problem of messy file joins without having to
pre-play files? If MCI is not the answer then what other tool can be used from
WIndows? (Visual Basic animation VBX?)
…Ian
Ian, "the screen flashes to white"
I have seen this flash when the palette for the second flic is different than
the first's. What could be happening is that the 2nd palette loads before the
2nd flic's image, and you get to see the transition while the wrong image is
displayed.
If this is the reason for the flash, you could easily find out by making the
palette of the second file the same as the first file. Or you play the first
flic again as if it were a separate flic and easily determine if that's your
problem. If not – let us know.
Thanks
Nik
Nick,
I am pretty sure that this has nothing to do with palette problems as I know
only too well what they look like.
An example – the following code opens two files (which are actually the same
file with two names so there should be NO possibility of palette resets!) and
then plays them with a cut join.
open file1.flc alias ani1 style popup
open file2.flc alias ani2 style popup
play ani2 from 1 to 1 wait
play ani1 from 1 to 17 wait
play ani2 wait
close ani1
close ani2
This works just fine, but notice that I have had to play a frame of the second
file before anything else. What I would rather do is the following –
open file1.flc alias ani1 style popup
open file2.flc alias ani2 style popup
play ani1 from 1 to 17 wait
play ani2 wait
close ani1
close ani2
Running this MCI script produces a nasty flash to blank white before the second
file plays.
What should I do differently?
….Ian
>>code stuff
I'll get Brian Rudolph to look at it. I don't see what you're doing wrong, but
I am not familiar enough with the programming environment to be sure.
Nik