Quote:
|
Originally Posted by shan
Code:
//stylesheet stuff
var ss = new TextField.StyleSheet();
ss.load("stuff.css");
contentMain.myText.styleSheet = ss;
/***************************************************/
//xml stuff
about = new XML();
about.load("stuff.html");
about.onLoad = function () {
contentMain.myText.text = about;
}
|
try tracing out the about variable and make sure it's loading the text up... just to see what it's getting.
Code:
//xml stuff
about = new XML();
about.load("stuff.html");
about.onLoad = function () {
contentMain.myText.text = about;
}
trace(about);