Hello –
ASC FlashCS 9.0
I have what should be a very simple dynamic text box (multiline and html) embedded within a MC loading an external text file with html tags (properly formatted for flash).
I have a scrollbar component attached to the text box. Everything works if I test the movie and if I just play the swf file.
But when the swf file is embedded in an html file the scrollbar does not activate and only the text within the window is seen.
Here is the script:
var url:String = “news.txt”;
var loadit:URLLoader = new URLLoader();
loadit.addEventListener(Event.COMPLETE, completeHandler);
loadit.load(new URLRequest(url));
function completeHandler(event:Event):void {
news.htmlText = event.target.data as String;
}
Any suggestions? Thanks.