We used to measure text width in LzTextSprite by looking at the Flash
'TextField.textWidth' property (and adding
4 pixels of padding because it clipped otherwise).
At some point that method was changed to look at the TextField._width
instead, which gives different values (slightly larger ones).
Anyone remember what the thinking there was? I'm inclined to revert that, so
that we're compatible with the
4.2 text width in swf8.
r13517 by ptw has the last assignment according to svn blame
" Fixed getTextWidth, getTextHeight, getTextfieldHeight,
to obey kernel API contract."
--
Henry Minsky
Software Architect
[email protected]