I think this is the right way, but like I keep mentioning, we need to improve 
the docs.

I do think that simple number values should be shortcuts to the pixel values. 
I’m going to try and add that to SimpleCSSStyles.

On Jun 5, 2016, at 9:39 AM, Alex Harui <aha...@adobe.com> wrote:

> 2) Subobject, such as:
>       <js:style>
>         <js:SimpleCSSStyles left="10px" right="20px" />
>       </js:style>
> 
> The latter allows for code intelligence and doesn't require string parsing
> at runtime.  One could specify other sub objects with fewer or more CSS
> style properties including non-standard properties in case memory and
> performance becomes an issue.
> 
> As you think about how the SWF-side emulation will eventually have to deal
> with other CSS units like "em" and "in", hopefully it is easier to see why
> it is different from the straight "Number = Pixel" we used in regular Flex.

Reply via email to