DHTML (general):
You need to include "colors.lzx" explicitly for all those iceblue, sand etc. colors . For swf8/9, it's already included implicitly because the debugger uses base-components, but this isn't case for dhtml.

DHTML (LPP-7345):
Change 11780 from Tucker:
LzColorUtils.inttohex(16311446) returns "gold4" - bad for "LzSprite.prototype.setBGColor(..)"
this.__LZdiv.style.backgroundColor = c == null ? 'transparent' : LzColorUtils.inttohex(c);
I don't think CSS knows "gold4".

And in general you need to use "bgcolor=iceblue1" - no "lz.colors.iceblue1" or a constraint or anything else. Because in "NodeModel#compileAttribute(Element, String, String, Schema.Type, String)", the color conversion looks like:
value = "LzColorUtils.convertColor('" + value + "')";

Which also explains LPP-7346 for colors-inputs like "lz.colors['gold4']" - the quoting simply breaks. "Compilation Errors color-$6.lzx:6:114: Syntax error: the token "gold4" was not expected at this position."





Reply via email to