# Need Help! Using CSS with Loaded Text File

**URL:** <https://forum.kirupa.com/t/need-help-using-css-with-loaded-text-file/290340>\
**Category:** Uncategorized\
**Created:** [June 12, 2009, 9:37pm UTC](https://forum.kirupa.com/t/need-help-using-css-with-loaded-text-file/290340 "2009-06-12T21:37:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![metamorfisces](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@metamorfisces](https://forum.kirupa.com/u/metamorfisces)\
**Post date:** [June 12, 2009, 9:37pm UTC](https://forum.kirupa.com/t/need-help-using-css-with-loaded-text-file/290340/1 "2009-06-12T21:37:58Z")

</div>

Hello all! I need help in incorporating CSS with my Dynamic text loaded from a txt file. I am calling the file with the code below, which I think I got from a tutorial on Kirupa!

```auto
var myLoadVars:LoadVars=new LoadVars;

myLoadVars.load("Text/NewsText.txt");

myLoadVars.onLoad = function (success:Boolean){
    if(success){
        home_copy.home.text=this.homeText;
    }
}

```

I would much appreciate any help!
