vertical scrollbar for dynamic text field without Flash Components

I have a dynamic text field, which has data being added to the bottom all the time.

I want to have a scrollbar on the right side, with a draggable scroll button.

I can't figure out how to have live scrolling text, updated as you drag the button.

I don't want to use the scrollPane Component  (44 Kbytes, fat pig) ...

Help please...

Thanks
DonelsonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh ChopraCommented:
Hi,

here is a Lightweight Scrollbar Component (only 4 kb)
here is details:
http://play.ground.gr/?p=85

Direct download link:
http://play.ground.gr/wp-content/uploads/2006/01/TextScroller.zip


Rgds
Aneesh
DonelsonAuthor Commented:
Aneesh, thanks.

But...

Sorry, I don't want a component because I want to change things around and add functions, etc.

Is there source code for that?

MontoyaProcess Improvement MgrCommented:
You can change things around, skin and add functions to any component.

If you still want to do it from the ground up...

http://www.kirupa.com/developer/flash8/scrollbar4.htm


Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

DonelsonAuthor Commented:
That one appears to cover the entire window so you cannot click-select the text portion.

DonelsonAuthor Commented:
I have found that while

  this.startDrag(...)

is running, you CAN see the locations of the dragged object (a thumbwheel in this case)

  amountScroll = (this._y - scrollRect._y) / (scrollRect._y + scrollRect._height);

which I can use to animate the text field.
Aneesh ChopraCommented:
Hi,

here is the source code of Lightweight TextScroller AS2 component,
modify it as you want.
http://s42.yousendit.com/d.aspx?id=3QWCT7PIUQQT50W8EYI4OVOAOY


Rgds
Aneesh

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DonelsonAuthor Commented:
Thanks, Aneesh.

Hope you are well and enjoying Flash !

William
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.