What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
Sorry for the double post. Since a little demo is worth a thousand words, especially _my_ nebulous words, here’s [what I mean](http://www.fastswf.com/v6QU9MQ) with multiple light sources, and the relevant code is below:
private function moveLights(eve:MouseEvent):void
overlay.bitmapData.copyPixels(toplight.light.bitmapData, toplight.light.bitmapData.rect, toplight.center, null, null, true);
overlay.bitmapData.copyPixels(leftlight.light.bitmapData, leftlight.light.bitmapData.rect, leftlight.center, null, null, true);
overlay.bitmapData.copyPixels(rightlight.light.bitmapData, rightlight.light.bitmapData.rect, rightlight.center, null, null, true);
overlay.bitmapData.colorTransform(overlay.bitmapData.rect, new ColorTransform(1, 1, 1, -1, 0, 0, 0, 255));
Clearly, since I’m using the _exact same_ ColorTransform every time it should be stored in a class variable and recalled from there, please don’t kill me. Don’t worry about moveAbout(), it just translates the lights about the mouse pointer, nothing to see there. In fact, the only thing worth seeing is the color of the fillrect: 0×01000000. Alpha = 1 (out of 255), RGB=0. Why? Because ColorTransform does **not** apply to fully transparent pixels, for some reason which must be detailed in the docs and that I would know if I wasn’t so lazy. Once again, I hope it helps.