Hey all,
I’m using a movieclip scroller… I’m using a method from a tutorial on this site to bring in txt from a txt file into a dynamic txt box and apply css:
var format = new TextField.StyleSheet();
var path = "flash.css";
format.load(path);
format.onLoad = function(loaded) {
if (loaded) {
output.styleSheet = format;
myLoadVar = new LoadVars ();
myLoadVar.load("spikestrip.txt")
myLoadVar.onLoad = function (success){
if (success == true) {
output.variable = "kirupa"
output.htmlText=myLoadVar.kirupa;
}
}
} else {
output.text = "Error loading CSS file!";
}
};
Now this works, but when it’s in a movie clip to be scrolled… nothing shows up…any ideas?
Thanks!