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>


Reply via email to