# Using basic html tags in dynamically loaded text

**URL:** <https://forum.kirupa.com/t/using-basic-html-tags-in-dynamically-loaded-text/124093>\
**Category:** Uncategorized\
**Created:** [September 29, 2004, 11:21pm UTC](https://forum.kirupa.com/t/using-basic-html-tags-in-dynamically-loaded-text/124093 "2004-09-29T23:21:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_lauren](https://avatars.discourse-cdn.com/v4/letter/b/b38774/32.png) [@b\_lauren](https://forum.kirupa.com/u/b_lauren)\
**Post date:** [September 29, 2004, 11:21pm UTC](https://forum.kirupa.com/t/using-basic-html-tags-in-dynamically-loaded-text/124093/1 "2004-09-29T23:21:46Z")

</div>

ok this is probably so basic but - how do i make say \<b\> tags in a notepad file load properly in my swf.

It seems to work when I “reload” a text field with different text - but not when it first loads.

My rudimentary code reads

```auto
  loadText = new LoadVars();
loadText.load("journal2.txt");
loadText.onLoad = function() {
 wordspre.text = this.wordspre;

```

thanks in advance
