CompuServe Thread

#Playing FLC in C++?

2 messages in this thread
#76820From: Gary WeinfurtherJan 17, 1994 1:03 PM
I need to play a 640x480x256 FLC file within a C++ program. The FLC needs to play in an infinite loop until any key is pressed. Then, the animation will freeze and some text will be dynamically displayed. The user will make some selections, then the animation will restart from the beginning. Is my only option for implementing such a program to write my own FLC player? Can I use some sort of FLC runtime that will stop (and stay in graphics mode) when a key is pressed? Then it needs to restart at a later time.
#76913From: JesseJan 17, 1994 9:08 PM
Dr. Dobbs journal had a complete article on the FLC (and FLI) format. You can also download the READFLIC code that they supplied which reads, and plays a FLC animation. That's what I did, and it works fine after I modified the code a bit to work with my graphics library. I think the FLC player checks for keypresses, so you should be able to use it pretty much as is… If you can't find the READFLIC code, I can probably send it to you… Jesse