Re: [Flex JS] Font weight issues

2017-03-02 Thread Alex Harui
SimpleCSSStylesImpl is Simple. FontWeight is expecting bold or normal since that's what Flash supports for free and is less code. Hopefully someday someone will write AdvancedCSSStylesImpl. Thanks for pointing it out though, -Alex On 3/2/17, 9:45 PM, "Justin Mclean"

[Flex JS] Font weight issues

2017-03-02 Thread Justin Mclean
Hi, Just a FYI in case this trips anyone else up. The code in applyStyle in SimpleCSSValuesImpl assumes that most CSS style numbers are pixels - this is not be the case. The code in questions is: if (typeof(value) == 'number') { if (colorStyles[p]) value =