I have a problem loading a stylesheet for a flash movie, localy is not any problem - but on a remote server on a https adress it is, I have this code:
var mittCss:TextField.StyleSheet = new TextField.StyleSheet();
mittCss.onLoad = function(success) {
if (success) {
mitt_textfalt.styleSheet = mittCss;
} else {
mitt_textfalt.text = "Stylesheet did not load";
}
};
mittCss.load("stil.css");
If I change the path to the css I get an error on the remote server (Stylesheet did not load), but if I have the right path - for this in the same directory - nothing happens. Is this a security issue?