|
From: Klaus R. <kl...@re...> - 2008-10-05 13:26:40
|
Hi, > The moveto() problem has been fixed since we last spoke, but I'm still > having some problems with gradients. If you'll note here > http://www.heynow.com/study/ming_gradient2/ only some of the > addEntry() calls are being honored when I put together a gradient. Can > you comment on what's going on? Thanks. > the SWF format has some limitations on gradients. MING's interface SWFGradient_addEntry() has a man page entry stating: SWF <= 7 allows up to 8 control points SWF >= 8 allows up to 15 control points In order to use up to 15 gradient entries you should also set the SWFShape version to 4: shape->useVersion(SWF_SHAPE4); Actually this part was missing in the interface documentation. I've just rendered your example and it looks OK to me. Cheers Klaus PS: Could you also contribute to Mings WIKI @ http://www.libming.net/ please? It is the only way to improve the documentation! |