# Problems with external .txt file text format and links

**URL:** https://forum.kirupa.com/t/problems-with-external-txt-file-text-format-and-links/92283
**Category:** Uncategorized
**Created:** [October 15, 2003, 12:09pm UTC](https://forum.kirupa.com/t/problems-with-external-txt-file-text-format-and-links/92283 "2003-10-15T12:09:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![striker77](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@striker77](https://forum.kirupa.com/u/striker77)
#### Post date: [October 15, 2003, 12:09pm UTC](https://forum.kirupa.com/t/problems-with-external-txt-file-text-format-and-links/92283/1 "2003-10-15T12:09:50Z")

</div>

Hi all,

New to posting in this forum although have found a lot of useful information through searches but not this time!!(I’m sure someone will prove me wrong!!). Here’s my problem…

I am just experimenting at the moment but the situation is that i have several dynamic text boxes linked to .txt files. The problem i have is that of formatting this text.  
The dynamic text boxes have been set to the font i wish to use and the font has been embedded, html render has been enabled and i have the following code on the frame where the dynamic text boxes appear:

loadText = new loadVars();  
loadText.load(“home.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
text\_home.html = true;  
text\_home.htmlText = this.dynContent;  
}  
};

so the text all loads in fine except for its format. I was wanting to use a specific font for this loaded text but even thought the dynamic boxes have fonts embedded the font is not showing on a browser??

Also within the .txt files i have links to URL’s and have used \<a href=“whatever” target="\_blank"\> but in some cases the links i want to be in a new window wont open in a new window but some do even though the html is the same, apart from the ones that don’t work are in a list using \<p\> \</p\> to list them (can that make a difference?)

Anyone know of a solution??

David

I could attach .fla if that would help??
