Confirmed.

It looks like it parses the color into an integer value, and it never gets 
saved as a hex value in the styles.

> On Feb 12, 2017, at 5:57 AM, Justin Mclean <jus...@classsoftware.com> wrote:
> 
> Hi,
> 
> Looks like this works (ie you get a big red square):
> 
> <?xml version="1.0" encoding="utf-8"?>
> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
>                xmlns:js="library://ns.apache.org/flexjs/basic">
>    <js:valuesImpl>
>        <js:SimpleCSSValuesImpl/>
>    </js:valuesImpl>
> 
>    <js:initialView>
>        <js:View percentWidth="100" percentHeight="100" 
> style="background-color:red;">
>        </js:View>
>    </js:initialView>
> </js:Application>
> 
> However using HTML RGB value like this doesn’t seem to work:
> 
> <js:initialView>
>    <js:View percentWidth="100" percentHeight="100" 
> style="background-color:#FF0000;">
>    </js:View>
> </js:initialView>
> 
> Anyone confirm and do you want me to raise a JIRA? I’m using a nightly from a 
> few days ago.
> 
> Thanks,
> Justin
> 
> 
> 

Reply via email to