UI Scrollbar Doesn't Reset

  • ryanbutler
  • Student
  • Student
  • ryanbutler
  • Posts: 86
  • Loc: Springfield, MO

Post 3+ Months Ago

Hi,

Would anyone know of a way to force the built in UIScrollbar component for Flash 04 to reset when accepting xml files through a dynamic text field? To further clarify, the scrollbar does scroll, however, as you scroll to the end of a text box (dynamic text field) and click another button to load in a new text file, the scrollbar does not reset to the top, which is slightly annoying.

If there isn't a possible solution, I'd be inclined to buy one if I knew of one that would work better.

Any feedback/suggestions would be greatly appreciated,
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

What I used to do was clear the textbox before I reset the text. It's kind of a lame workaround, but it works.
Code: [ Select ]
myTextBox.text = "";
myTextBox.text = newTextValue;
  1. myTextBox.text = "";
  2. myTextBox.text = newTextValue;
  • ryanbutler
  • Student
  • Student
  • ryanbutler
  • Posts: 86
  • Loc: Springfield, MO

Post 3+ Months Ago

See I've done that and it doesn't work, I thought it did the other day, but now it doesn't. Why I was kind of looking into another option if I can't anything else out.
  • pgrove
  • Born
  • Born
  • pgrove
  • Posts: 1

Post 3+ Months Ago

lostinbeta:
I can't say whether your solution is "lame" but I CAN say it *works*.
Many thanks with something that has been driving me buggy...

pgrove

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 4 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.