# Dymanic text not showing online

**URL:** <https://forum.kirupa.com/t/dymanic-text-not-showing-online/236858>\
**Category:** flash\
**Created:** [August 24, 2007, 7:08am UTC](https://forum.kirupa.com/t/dymanic-text-not-showing-online/236858 "2007-08-24T07:08:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoxheaD](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@BoxheaD](https://forum.kirupa.com/u/BoxheaD)\
**Post date:** [August 24, 2007, 7:08am UTC](https://forum.kirupa.com/t/dymanic-text-not-showing-online/236858/1 "2007-08-24T07:08:40Z")

</div>

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.

```auto
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
