Solved

Add a scrollbar to make some text scroll

Posted on 2009-05-07
5
372 Views
Last Modified: 2013-11-11
Im making pretty much my first flash movie and ive got a lot of text to get in onto one page. Id like to know how to add a scrollbar so that the text scrolls. Is this something very difficult? Any tutorials that explain it to a total newbie?

Thanks for any help!

Matt
0
Comment
Question by:MatthewP
  • 2
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
ali_kayahan earned 500 total points
ID: 24331017
Press control + f7 From user components > Userinterface >  UIscroll bar ,drag and drop it over your text area..
0
 
LVL 6

Author Comment

by:MatthewP
ID: 24331086
Almost, but it scrolls horizontally, cant get it to go vertical?

Thanks
0
 
LVL 14

Expert Comment

by:ali_kayahan
ID: 24331163
try snapping it to sides
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24332532
just a recommendation for you...  

I personally like to use a scrollpane instead of just a scrollbar component, because it gives you the flexibiltiy to add graphics and such along with your text, and it gives you the same effect.  this allows you to change your mind later, if you need to put other things into the scrollable area...  such as a horizontal rule or flying cows or something liek that :)

The way to do this, is to create a movieclip that contains all of your text and graphics, if you have them, and then just delete if from the stage...  drag a scrollpane onto the sage...  size it to be a tad bit larger than your contents width... then in the library, rightl-click on the item, and select properties... check Export for Actionscript, and then give it a class name...  and then use the component parameters panel to assign the source movieclip from the library.

It works pretty nicely...


rp / ZA
 
0
 
LVL 6

Author Comment

by:MatthewP
ID: 24406250
Fixed the scroll bar by setting the dynamic text to 'multiline' - it came out as one long string the other way, and the UI scrollbar component works a treat.

Have to check that scrollpane out too, sounds cool.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question