Ok, I can get the CSSStyleDeclaration using:

var s2:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(".incomeValue");

The problem is that I need to return a simple object. Inspecting the
content of the CSSStyleDeclaration class, I saw that the "overrides"
property has the object I need, but that property is protected.
I can extend this class, and expose the "overrides" property, but that
sounds a bit "hackish". Isn't there a direct way to convert a
CSSStyleDeclaration to a plain object?

Thanks,

João Saleiro

Reply via email to