Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

maxscroll property

Status
Not open for further replies.

twist

Programmer
Dec 4, 2001
100
0
0
CA
hi there,

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.

dave

dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top