Yes, make it a no-op. I'm told that fgcolor is only applicable to text...
On Tue, Dec 16, 2008 at 8:42 AM, Philip Romanik <[email protected]> wrote: > Hi Henry, > > I traced this problem down to a changeset where ColorTransform was added > (r11271). I think that LzSprite.setColor for swf9 should be a nop. Setting > the color property of ColorTransform is setting the color offsets to add > when drawing. In the testcase, the foreground color is white, and the > background color is black. Calling setColor(0xffffff) will set the color > offsets to 0xff and everything will always be white. > > Can you take a look and see if you agree? > > Thanks! > > Phil > > > Here's a simplified testcase. The screen should be black but it is white in > swf9 > > > <canvas width="100%" height="100%"> > <view width="100%" height="100%" bgcolor="0x000000" fgcolor="0xffffff"> > </view> > </canvas> > > > -- Henry Minsky Software Architect [email protected]
