OK, I have a small swf that loads external text as shown here. The clip allows me to have scrolling by rollover on the buttons. It works great. I am having trouble getting the CSS to attach and maintain the funtionality… CAn I intergrate
loadVariablesNum(“ProjRollText2.txt”, 0);
into the lower code?
http://conceptualmoti.temppublish.com/resize/Phase.cfm?Phase=1
Need to integrate with
var format = new TextField.StyleSheet();
var path = “cmc.css”;
format.load(path);
format.onLoad = function(success) {
if (success) {
output.styleSheet = format;
myLoadVar = new LoadVars();
myLoadVar.load(“ProjRollText2.txt”);
myLoadVar.onLoad = function(success) {
if (success == true) {
output.variable = “textbox1”;
output.htmlText = myLoadVar.textbox1;
}
};
} else {
output.text = “Error loading CSS file!”;
}
};