Oct 17 2008
[AS3] Fixing TextField.bottomScrollV and TextField.maxScrollV
There is a rather strange issue with the flash.text.TextField class, one related to the delayed updating of the TextField.bottomScrollV and TextField.maxScrollV properties. The TextField.bottomScrollV indicates the bottommost line that is currently visible in the specified text field while the TextField.maxScrollV indicates the maximum vertical scroll position value.
The problem with these two properties is that they do not update immediately at those times when they should -
(i) when a TextField instance is resized such that the vertical scroll bounds change; and
(ii) when the TextField.wordWrap property changes (from false to true or vice versa).







