Solved

Add a scrollbar to make some text scroll

Posted on 2009-05-07
5
385 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
[X]
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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

756 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