# Kirupa text Flash/CSS tutorial query

**URL:** <https://forum.kirupa.com/t/kirupa-text-flash-css-tutorial-query/268768>\
**Category:** flash\
**Created:** [August 18, 2008, 6:07pm UTC](https://forum.kirupa.com/t/kirupa-text-flash-css-tutorial-query/268768 "2008-08-18T18:07:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![postman1](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@postman1](https://forum.kirupa.com/u/postman1)\
**Post date:** [August 18, 2008, 6:07pm UTC](https://forum.kirupa.com/t/kirupa-text-flash-css-tutorial-query/268768/1 "2008-08-18T18:07:08Z")

</div>

Hello

I am trying to follow the Kirupa tutorial here:

[[COLOR=#810081]http://www.kirupa.com/developer/mx2004/css.htm[/COLOR][URL=“http://www.kirupa.com/developer/mx2004/css.htm”]](http://www.kirupa.com/developer/mx2004/css.htm)

I have a dynamic text box with multiline set to no wrap and the dynamic text box with an instance name of output. I have removed the [www.kirupa](http://www.kirupa) link to the flash.css in the tutorial and placed a file called flash.css in the same directory as everything else on my server.

So I have:

```auto
var format = new TextField.StyleSheet();
var path = "flash.css";
var quick = "<br><p class='one'>The quick Kirupa jumps over the lazy dog.</p><br><p class='two'>The quick Kirupa jumps over the lazy dog.</p><br><p class='three'>The quick Kirupa jumps over the lazy dog.</p><br><p class='four'>The quick Kirupa jumps over the lazy dog.</p>";
format.load(path);
format.onLoad = function(loaded) {
 if (loaded) {
  output.styleSheet = format;
  output.text = quick;
 } else {
  output.text = "Error loading CSS file!";
 }
};

```

I am using the AS as posted in the tutorial, but can’t see any text at all. I have the \<\> HTML button pressed down.

What might be wrong with this?

Thanks.

Steve
