Re: [FlexJS] SimpleCSSStyles backgroundAlpha not working on JS

2017-02-19 Thread justin
HI, Raised https://issues.apache.org/jira/browse/FLEX-35272 for this issue. Justin

Re: [FlexJS] SimpleCSSStyles backgroundAlpha not working on JS

2017-02-19 Thread Justin Mclean
Hi, > I'm not surprised that RGBA has bugs, so please fix if you know how. Once I work out a workflow to change then the SDK I’ll give it a go. It looks like there’s some caching of framework files going on. > One thing I learned about #RRGGBBAA is that regular Flex didn't support > #RGB so k

Re: [FlexJS] SimpleCSSStyles backgroundAlpha not working on JS

2017-02-19 Thread Alex Harui
I'm not surprised that RGBA has bugs, so please fix if you know how. One thing I learned about #RRGGBBAA is that regular Flex didn't support #RGB so keep in mind that you can specify #ff as #fff Thanks, -Alex On 2/18/17, 7:03 PM, "Justin Mclean" wrote: >Hi, > >Looking deeper into this issu

Re: [FlexJS] SimpleCSSStyles backgroundAlpha not working on JS

2017-02-18 Thread Justin Mclean
Hi, Looking deeper into this issue is seems FlexJS has support for rgb and rgba values but it’s a little broken. In SimpleCSSVAluesImpl parseStyle method this code: if (value.charAt(0) == "#") { obj[pieces[0]] = org.apache.flex.utils.CSSUtils.toColor(value); } Should be somethi

Re: [FlexJS] SimpleCSSStyles backgroundAlpha not working on JS

2017-02-17 Thread Alex Harui
On 2/17/17, 10:24 PM, "Justin Mclean" wrote: >Hi, > >Looking at SimpleCSSStyles I can see a property called backgroundAlpha, >but there is no CSS property called backgroundAlpha and as far as I can >tell SimpleCSSValueImpl does nothing special with backgroundAlpha. I >think it needs to be conve

[FlexJS] SimpleCSSStyles backgroundAlpha not working on JS

2017-02-17 Thread Justin Mclean
Hi, Looking at SimpleCSSStyles I can see a property called backgroundAlpha, but there is no CSS property called backgroundAlpha and as far as I can tell SimpleCSSValueImpl does nothing special with backgroundAlpha. I think it needs to be converted to the corresponding CSS style opacity? At a g