Posts Tagged ‘flash player 10’

Get better color online through Flash Player 10 (Adobe)

Tuesday, November 25th, 2008

[Editor’s note: Turn sRGB color management on in Flash! Adobe’s purchase of Macromedia keeps producing better results.]

Republished from Adobe blog. First seen at Ajar Productions blog.

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.

  1. Chose or create an ActionScript 3 Flash file.
  2. Open the Actions window (Window/Actions).
  3. Type “stage.colorCorrection = ColorCorrection.ON;” in the Script window.
  4. 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.

Continue reading at . . .