Buttons and dynamic text field

hi,

I searched a forum for my problem but I don’t found a good answer for my question. It’s following:

  1. on the stage I have text field - here is loaded external html file
  2. two buttons - up and down
  3. no scroll bar

and questions:

  1. when user scroll text on the bottom of text field “down” button must to be set off (up button is on)
  2. when user scroll text on the top of text field “up” butoon must to be set off (down button is off)

how can I check these reasons? I know it necessery is to use maxscroll variable but I can’t how :slight_smile: