# Https and stylesheet

**URL:** <https://forum.kirupa.com/t/https-and-stylesheet/174381>\
**Category:** Uncategorized\
**Created:** [January 5, 2006, 8:21am UTC](https://forum.kirupa.com/t/https-and-stylesheet/174381 "2006-01-05T08:21:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikkeschiren](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@mikkeschiren](https://forum.kirupa.com/u/mikkeschiren)\
**Post date:** [January 5, 2006, 8:21am UTC](https://forum.kirupa.com/t/https-and-stylesheet/174381/1 "2006-01-05T08:21:06Z")

</div>

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:

```php

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?
