I need to add a scrollbar to a dynamic text field in flash

I am working on a project that is a flash website running from cd. The content in the site is loaded into a dynamic textfield using directions from http://www.developphp.com/Flash_tutorials/show_tutorial.php?tid=37

Here is the actionscript used:

var loader:URLLoader = new URLLoader(new URLRequest("my_text_file.txt"));
loader.addEventListener(Event.COMPLETE, completeHandler);

function completeHandler(event:Event):void {
var loadedText:URLLoader = URLLoader(event.target);
myText_txt.text = loadedText.data;
}

How would I add a scrollbar to myText_text??
I've been trying all day and I need a little help.
Thanks in advance!
LVL 1
merchantwebAsked:
Who is Participating?
 
ccaseyhnsConnect With a Mentor Commented:
here you go
text.fla
0
 
merchantwebAuthor Commented:
I just dragged the UIScrollbar component onto my text field and that worked.
0
 
merchantwebAuthor Commented:
Thanks, I'll check it out and get back to you hopefully tonight!
0
All Courses

From novice to tech pro — start learning today.