Solved

Add a scrollbar to make some text scroll

Posted on 2009-05-07
5
351 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
Comment Utility
Press control + f7 From user components > Userinterface >  UIscroll bar ,drag and drop it over your text area..
0
 
LVL 6

Author Comment

by:MatthewP
Comment Utility
Almost, but it scrolls horizontally, cant get it to go vertical?

Thanks
0
 
LVL 14

Expert Comment

by:ali_kayahan
Comment Utility
try snapping it to sides
0
 
LVL 22

Expert Comment

by:rascalpants
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
YouTube Link 10 346
Rotating Adobe pdf document 4 299
Firefox fullscreen video lags 4 147
Script to Delete registry entry based on Product name 6 145
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…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now