gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [Gnash-commit] gnash/server edit_text_character.cpp


From: Udo Giacomozzi
Subject: Re[2]: [Gnash-commit] gnash/server edit_text_character.cpp
Date: Fri, 20 Jul 2007 16:37:21 +0200

Hello Sandro,

Friday, July 20, 2007, 4:12:44 PM, you wrote:
SS> Set if (0) to if (1) and see what happens with the attached movie.
SS> It seems that the color transform (for which we have no specific
SS> testcases) results in a gray color always (r,g,b flattened).

Will do once build completes...


SS> This is a dumb pp compatibility thing. I think flash coders are
SS> happy to have this feature implemented, but the pp seems immune to
SS> color transforms+FSF applied to dynamic textfield (or device font)
SS> colors (including background and  border).

Not exactly. PP ignores _alpha for text fields, i.e. *any* text field
will always be fully opaque. However, color transformations still
apply:

var c:Color = new Color(mc);

var myColorTransform:Object = new Object();
myColorTransform.ra = 50;
myColorTransform.rb = 244;
myColorTransform.ga = 40;
myColorTransform.gb = 112;
myColorTransform.ba = 12;
myColorTransform.bb = 90;
myColorTransform.aa = 40;
myColorTransform.ab = 70;


c.setTransform(myColorTransform);

Udo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]