00:00
00:00
Newgrounds Background Image Theme

ShogunAfterDark just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Creating an easy to use scrollbar.

1,252 Views | 2 Replies
New Topic Respond to this Topic

Im not sure if this has been told before but i couldnt find it and so i decided to make a topic about it.
After reading this you will be able to make an easy to use scrollbar and without having used even a line of actionscript.
Also you should note that i am using flash 8 and do not know wheather this will work in previous versions of flash.

First open up a new flash document (Ctrl and N) and create a text box however big you want yourscrollable part to be.
Then click the text box and go to the properties pannel (Ctrl and F3) and change it from static text to dynamic text and give it an instance name (i used "InstanceName_1" without the quotes)
Next make sure the dynamic text box is selected and click the button at the top that says text and click the text that says scrollable.
Then go to window and click components (Ctrl and F7) This should open up a small window similar to the library. Scroll down this until you find the part that says UIScrollBar and drag it on to the stage.
Now you need to drag in to the top right hand corner of your dynamic text box and it should now show a white rectangle the length of your text box.
Finially you have to type your text and then test your movie by going to control and then test movie (Ctrl and Enter)

There you have it.
A simple scroll bar with no actionscript required.
Hope this helps and we can hopefully now have less topics titled "how do i make a scrollbar in flash"


|| Portfolio || Facebook || Twitter ||

BBS Signature

Response to Creating an easy to use scrollbar. 2005-12-31 06:52:39


Yeah when I try making one it always works up until I save it. Then when I open it again its like ten times longer and not scrollable.

Response to Creating an easy to use scrollbar. 2005-12-31 07:58:59


yeah that happened to me alot...
i sorta found this out by a combination of trial and error and pure luck... but it works and thats the main thing :)


|| Portfolio || Facebook || Twitter ||

BBS Signature