Hi,

I have compiled a large project with latest 4.12 RC and got a conflicting style 
definition for "labelPlacement".

It was defined as follows in mx.charts.LegendItem:

[Style(name="labelPlacement", type="String", 
enumeration="top,bottom,right,left", inherit="yes")]

And now also defined in spark.component.ChechBox:

[Style(name="labelPlacement", type="String", 
enumeration="top,bottom,left,right", inherit="no", defaultValue="right")]

AFAIU, a style cannot be declared both inheriting and non-inheriting.

So either change the style name to something else, or make it inherit like in 
LegendItem.


Moreover, compiler also complains that "defaultValue" does not exist in [Style] 
metadata, which is confirmed in official [Style] doc:
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf680e1-7ffe.html#WS2db454920e96a9e51e63e3d11c0bf69084-7a1a

Mark, I think this is for you...

Regard,

Maurice


Reply via email to