On 5/7/15, 12:24 PM, "Héctor A" <neverbi...@gmail.com> wrote:

>Something like
>
>Class Component
>{
>    [ValueConversion(class=geom.Rectangle,propertylist=left,right)]
>    public var padding:Rectangle;
>}
>
>Would be less powerful tho, having a custom converter could allow for
>example padding="0", padding="0,0,0,0", padding="2%", etc all at once.

Good point, but we could allow more than one ValueConversion metadata and
have the compiler try to match the number and type of parameters.  IMO,
the example you gave used databinding.  This would work more like a
compile-time expansion.  But either way or both are fine with me.

>
>Does your FlexJS style sample translate both to HTML and Flash? I find it
>a
>nice addition, although not having proper IDE support can be a pain
>sometimes.

Yes, the style examples work in both Flash and HTML.  That’s the goal of
FlexJS.

-Alex

Reply via email to