Connecting Tech Pros Worldwide Help | Site Map

how can I make a scrollbar for a box of static text?

Newbie
 
Join Date: Jan 2008
Posts: 2
#1: Jan 26 '08
I'm making a website entirely in Flash CS3 Pro.

On some of the frames, the text I want to enter is longer than the background so I want to create a scrollbar for my text field. I want my text field to be Static Text. Is this possible? I've searched quite a bit online for a way to do this and am having trouble finding a method. The only way I can find to do it is by making the text field Dynamic Text, but then that formats all my text to the same thing [ie. I can't have multiple fonts or use "bold" or anything]. So I don't want to use Dynamic Text.

What can I do?
nomad's Avatar
Expert
 
Join Date: Mar 2007
Location: CA.
Posts: 570
#2: Jan 31 '08

re: how can I make a scrollbar for a box of static text?


Hello lipa:
You could use Components TextArea.
This will allow you to have a scroll bar.
Control F7 will take you to the Components then double click TextArea.
You will need to make a layer for the TextArea I name mine ctaDescription. This need to be done first before you click on the TextArea icon. Make sure you select a frame first.

A blue box will open, along with a Components dialog box. Fill in the info that you want. Next look for a arrow and click on it. This opens the Action Window
Type in the first line ctaDescription.text=" ";
Next you can add your text within the " ";
It will look something like this.
ctaDescription.text = "TAKE FULL ADVANTAGE OF YOUR HOME AND LANDSCAPE <BR/>A HOME’S .... ";

The bad think about this is there can be now Hard Returns. It has to be pure HTML coding. All font color, styles has to be pure html coding.

If you have any problems post it and I will try to help you.

nomad
PS
Newbie
 
Join Date: Dec 2008
Posts: 1
#3: Dec 2 '08

re: how can I make a scrollbar for a box of static text?


Hey, I had this same problem, took me a while to figure out but with dynamic text if you click the button that says "Render as html" in the text box properties and then you can treat it just like a static text box...except you can add the uiscrollbar to it and it has an instance name.

Anyways, just wanted to post this solution in case you hadn't figured it out yet.
Reply