Skip to main content
Participating Frequently
May 18, 2006
Answered

Scrolling

  • May 18, 2006
  • 6 replies
  • 653 views
I need some code to make a textbox with a scrollbar. I've tried the help menu and it's useless. I'm not that great at this and I would appreciate any help at all. The textbox has an instance name of mp3text. Thanks.
This topic has been closed for replies.
Correct answer marceldeboer
bob3546, I'm also using the tutorial from Kirupa and got the same problem with dynamic text boxes or input field. The problem is that the dynamic text and input field must be embedded.

Read this article to solve your problem:

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001430.html

6 replies

bob3546Author
Participating Frequently
June 1, 2006
THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
bob3546Author
Participating Frequently
May 31, 2006
Thanks for the website. It helped alot. The only problem is that the scrolling scriptseems to interfere with my dynamic text box that i am trying to scroll. It isn't the mask. Any ideas ehat could be happening?
marceldeboerCorrect answer
Inspiring
May 31, 2006
bob3546, I'm also using the tutorial from Kirupa and got the same problem with dynamic text boxes or input field. The problem is that the dynamic text and input field must be embedded.

Read this article to solve your problem:

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001430.html
Inspiring
May 22, 2006
bob3546 your question is vague. As NSurveyor asked you, is it a Flash component or a custom movieclip you are trying to create? However if it is the latter then check out the tutorial from the following link below;

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

This is the most thorough tutorial I have found and also currently use for scrolling.
May 22, 2006
Do you want to make your own scrollbar, or use the premade component?
bob3546Author
Participating Frequently
May 21, 2006
no, it didn't. Thanks for trying though.
Participant
May 18, 2006
Try this out. It might work.. Just keep an instance name for the text box. Say "txt_sampledata". Now try the code " txt_sampledata.hScrollPolicy="on"; " . This might be working i suppose...