my problem is if i change the value of a text box then read its maxscroll property i get the maxscroll from what was in the box before hand, not the new value. anyone know how to get around this?
thanks.
twist
One thing to remember about maxscroll is that sometimes flash can take a while to calculate the value. If you open my example above and press the button, the text in the textbox is concatenated with itself, so doubling each time. You'll notice that the maxscroll value in the box below can sometimes take some time to appear.
Maybe this is your problem.
Also, make sure that you have the dynamic textbox set to Multiline with Wordwrap checked. Otherwise, flash just sees the text as a continuous line, therefore not requiring a scroll value.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.