Help with scrollbar component!

I’ve created a dynamic text box and attached the UI Component scrollbar. The text is loaded through an external document. When I preview the page, the scrollbar works fine…but once I upload the document online, the scroll bar becomes disabled. I think it doesn’t read the xml text. Can you not use the scrollbar component w/ external text?? Please help, I can’t find the answer to this anywhere!!!

Below is the code I used:

var loader:URLLoader;
loader = new URLLoader();

//ADD EVENT LISTENER, THIS LISTENS FOR WHEN XML IS LOADED
loader.addEventListener(Event.COMPLETE, xmlLoaded);
//DEFINES XML FILE THAT IS LOADED
var request:URLRequest = new URLRequest(“content.txt”);
loader.load(request);

//FUNCTON CALLED ONE XML IS LOADED
function xmlLoaded(event:Event):void {
//DEFINE MY XML VARIABLE
var myXML:XML = new XML(loader.data);
trace(myXML);
TestTf.text = myXML;

}