PDA

View Full Version : Load from bottom and up[Dynamic text field]


joggy
07-02-2006, 11:06 PM
Hey.

I have a small problem.. I am loading some data from a XML file into flash, and displaying it in a dynamic text field. The problem is, that I want it to display the text from the bottom up.

Which means, that the the "scroll" to move upwards and start, at the bottom, not at the top.

Hope someone can help :)

Regards Joggy

joggy
07-03-2006, 12:08 AM
Found a solution.. To others, that might have the same problem:

You can move the UIScrollbar to the bottom of the textfield by doing this:

textfield.scroll = textfield.maxscroll;