Use TextScrollbar Component

Go to Component panel and select component TextScrollbar. Drag the component to the canvas or double click it in the panel, then set its properties and parameters in Properties panel.

If you want to learn the details about the properties and parameters of TextScrollbar component, you may click here.

In Properties panel, you may set the general properties of the component under tab Properties. And the parameters are set under tab Parameters.

Sothink SWF Easy usetextscrollbar1 Use TextScrollbar

_targetName:
You need to input the name of the text field instance that the UIScrollBar component is attached to.

horizontal:
Choose whether the scroll bar is oriented horizontally (true) or vertically (false).

enabled:
Here you may decide whether the component can receive focus and input. “true” means that the component is in the enabled state and it receives focus if you click it or tab to it while “false” means that the component is in the disabled state and it doesn’t receive mouse or keyboard input.

color:
You may edit the color of the component. Choose the color in the color box or customize one.

Save as default:
If you want to use the color you chose next time, you may click button Save as default for convenience.

 

As for event and method of TextScrollbar, you may set under tab Action.

Sothink SWF Easy usetextscrollbar2 Use TextScrollbar

 

Here is a simple tutorial telling you how to create a textscrollbar controlling a text as the example below.

AC_FL_RunContent( ‘codebase’,'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0′,’width’,’140′,’height’,’80′,’src’,’../c-image/textscrollbar1′,’quality’,'high’,'pluginspage’,'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash’,'movie’,’../c-image/textscrollbar1′ ); //end AC code

1. Select Text tool in Toolbar and add an empty dynamic text.

After you select Text tool in Toolbar and draw a text frame on the canvas, go to the Properties panel for the text. Under tab Format, set the text type to be Dynamic, set the style to be Multiline and set to show border. You may also set the text format and size here.

2. Input a name for the text.

Turn to tab Properties and input a name for the text. Here its name is “textname”.

3. Add textscrollbar component.

Go to Component panel and select TextScrollbar, drag it to the canvas. Move the textscrollbar besides the text.

4. Set parameters for the textscrollbar.

Go to Properties panel for textscrollbar, under tab Parameters, input the name of the text to the box besides _targetName. It means the textscrollbar will control the text relative.

5. Add action to the scene.

In Scene panel, click the main scene containing the text and the component. Go to Properties panel for the main scene. Under tab Action, input the script below:

_root.textname.text=”Sothink SWF Easy is a Flash animation creator”;

6. Check the action script and preview the animation.

Go to tab Output and check whether there is error information there. If there is none information, it means you did not add wrong action script to the scene. Click button Preview on Toolbar and preview your animation.

 

Use TextScrollbar