A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: refresh scroll bar to top

  1. #1
    Member
    Join Date
    Jan 2009
    Location
    London
    Posts
    62

    refresh scroll bar to top

    Hello,
    I have a canvas with its verticalScrollPolicy = "auto" and whenever I reload data into the canvas I want to set the position of the scroll bar back to the top of the page.
    Does anyone know a way that I could do this?
    Thank you...

  2. #2
    Member
    Join Date
    Jan 2009
    Location
    London
    Posts
    62
    I solved the problem myself, I was being a bit stupid and failing to notice there is a verticalScrollPosition attribute.
    I just set this back to 0 whenever content is reloaded...

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