CompuServe Thread

animator vbx

2 messages in this thread
#112733From: SteveJul 13, 1994 3:16 PM
Dear AutoDesk, I am using your animator VBX with a picture box on a single form in VB. Unfortunately, palette flashes occur every time I set flc.play = false. My picture has the same exact palette as the flc and when I used a system palette viewing tool, there were duplicate entries of my base palette. My base palette has 17 non-windows colors in first 17 palette positions in both the animation and the picture box. HELP!!!!! -Adlain
#112952From: Brian Rudolph [Adesk]Jul 14, 1994 6:24 PM
Steve, The Windows .DLL will ALWAYS reinitialize the palette when it loads a new FLC or BMP image. This is hard coded and there is no way around it. You can minimize the effect greatly by making sure the palette of your flc file does not use either the first ten or last ten palette positions. These 20 positions are the palette positions (out of 256) that Windows reserves for its own use. Also, making sure you have a common palette between all frames of your animations and bitmaps helps considerably as well. -Brian