[Editor's note: Turn sRGB color management on in Flash! Adobe's purchase of Macromedia keeps producing better results.]
Support for color management is in Web browsers is rare (only Safari supports it by default, and the IE team is apparently missing in action). Color management thus can’t be counted on from browsers, and images display differently in different browsers. Flash Player, on the other hand, is ubiquitous, consistent, and reliable–and now in Flash Player 10 it offers basic color management support. It’ll take a little while for the new FP10 to proliferate, but this is a huge step forward. Color mgmt. in Flash will finally put an end to colors shifting when you move from PS to Flash.
Here’s the punchline:
You just need to put a small snippet of ActionScript 3 code in the Flash file.
- Chose or create an ActionScript 3 Flash file.
- Open the Actions window (Window/Actions).
- Type “stage.colorCorrection = ColorCorrection.ON;” in the Script window.
- Save the file.
You’re all set.
Note: Using this ActionScript enables an sRGB –> monitor color transform in the Flash Player. You should convert image files to the sRGB color space in Photoshop before publishing to Flash.