Hello strk, Sunday, July 22, 2007, 4:38:18 AM, you wrote: >> We have other problems it seems. >> See http://foo.keybit.net/~strk/tmp/TextFieldColor.swf. >> The color transform flattens the colors to a grayscale.
I'll check this tomorrow. Probably only a implementation *detail* problem (ie. the cxform fields access), not related with the whole thing. s> It messes directly with the cxform, I don't think it should, s> as the cxform would apply to *all* colors (text, border, background). Indeed, that's what we need! Place a text field (device font) into a movieclip, then apply a cxform that changes tint of the MC *and* sets alpha to 50% or similar. You'll see that the text field is opaque (alpha=100%) instead but text and border and background have the desired colors. s> Rather, the character should maintain a text color rgba member s> and pass it to the draw_glyph_records.. Contrary to the cxform hack this would mean: - special handling for the border/background drawing - special handling for the glyphs color (still the *same* cxform to apply) - change draw_glyph_records to not use world cxform. Much code change, no benefit and error prone in the future IMHO. Udo _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
