A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Scroll dynamic text to bottom?

  1. #1
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,930

    Scroll dynamic text to bottom?

    I've got a dynamic text box and a scroll bar component. I'm updating the text in the text box throughout the file with AS, and I need the box to scroll to the bottom so the newest text shows up and the scrollbar updates...any way to do this??

    Thanks!!
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  2. #2
    Senior Member Speed85's Avatar
    Join Date
    Apr 2007
    Posts
    292
    code:

    _root.textbox.scroll = _root.textbox.length;



    That should do the trick, might not be the best way, but it works.

  3. #3
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,930
    Perfect!! Thanks!!
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center