As a comment on the helper functions, we could also just have
something that does on the fly conversion.  In other words if I say
300 pixels, I want it to translate that into EM / other unit in the
background. The reason I bring that up is to allow exact PX still be
used for the Flex / Air side and converted for the js/css side.

pixelTotal / fontSize = em

300 / 14 = 21.429 (rounded)

Soo 300px for flex and 21.429 for JS side.

-Mark K

Reply via email to