Hi!
I’m in desperate need of some help!
I am trying to load some external text, from a .txt file, into a dynamic textfield inside of Flash. Because the text will be pretty long, I have decided to use a scrollbar, a UIScrollbar.
So when I decide to test the movie (ctrl+enter) it works like it should.
But when I publish it (f12), the scrollbar won’t work! The arrows and the slider disappears.
Why? I usually sort these kind of problems out for myself. But this problem, seems to me, totally illogical. Is it a glitch of some sort?
I am using Flash CS3 and Action Script 3.
Help, would be much appreciated!
Here is my code.
var loader:URLLoader = new URLLoader(new URLRequest("texten2.txt"));
loader.addEventListener(Event.COMPLETE, TextLoad);
function TextLoad(event:Event):void {
var loadedText:URLLoader = URLLoader(event.target);
scrollWindow.scrollTxt.htmlText = loadedText.data;
}