Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Add a scrollbar to make some text scroll

Posted on 2009-05-07
5
377 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

791 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