Probably a noob question, but I am going mental with this one. I have a dynamic text field on one layer, and action layer on top of that. Render text as html on, and needed characters embedded.
System.useCodepage = true;
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("uutinen.txt");
myLoadVar.onLoad = function(success) {
if (success == true) {
output.variable = "uutinen";
output.htmlText = myLoadVar.uutinen;
}
};
} else {
output.text = "Error loading CSS file!";
}
};
This works fine when I run the swf locally, from my desktop. But when I put it on website I get “error loading css file”. Any ideas what I am missing here? I have tried using absolut url paths. And I have my remote folder the same as local project folder.
edit: and no masks present