Link to home
Start Free TrialLog in
Avatar of merchantweb
merchantweb

asked on

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!
Avatar of merchantweb
merchantweb

ASKER

I just dragged the UIScrollbar component onto my text field and that worked.
ASKER CERTIFIED SOLUTION
Avatar of Christopher Casey
Christopher Casey
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, I'll check it out and get back to you hopefully tonight!