Hi there everyone!
My dilemma is this, upon on(release) of the dpmoreinfonext_btn it displays my external text file dpmoreinfo.txt in the dynamic text field dpmoreinfo_txt. Now I would like to be able to apply a style sheet so that I can control the look of my text in file dpmoreinfo.txt.
My ActionScript is on the actual button dpmoreinfonext_btn:
on(release) {
loadText = new LoadVars();
loadText.load(“dpmoreinfo.txt”);
loadText.onLoad = function(success) {
if (success) {
//trace (success)
dpmoreinfo_txt.html = true;
dpmoreinfo_txt.htmlText = this.dpmoreinfopage;
}
};
}
How would I incorporate the actionscript to load my courses.css file into my current code ?