# \[FMX\] Adding new html text to TF go to another line?

**URL:** <https://forum.kirupa.com/t/fmx-adding-new-html-text-to-tf-go-to-another-line/28055>\
**Category:** flash\
**Created:** [August 9, 2003, 8:46am UTC](https://forum.kirupa.com/t/fmx-adding-new-html-text-to-tf-go-to-another-line/28055 "2003-08-09T08:46:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![comicGeek](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@comicGeek](https://forum.kirupa.com/u/comicGeek)\
**Post date:** [August 9, 2003, 8:46am UTC](https://forum.kirupa.com/t/fmx-adding-new-html-text-to-tf-go-to-another-line/28055/1 "2003-08-09T08:46:32Z")

</div>

Hello all! I been making a histroy frame (similar to the one above) where people can see where they were on the site before they came to the new section of the site. I have successfully done this using html text and ASFunction and it works perfectly. The problem is when I add a new html link into the textfield the new entry goes to a second line. I wanted it to appear in one line

ie. home \> tutorials \> easin menu…

the script i used to add are as follows:

```auto

on(release){
 history.htmlText += "<a href='asfunction: loader,2'> Section 2</a>";
}

```

That code format goes to all the links in my movie but, as I said it would’nt appear in one line…

Anybody know how to do this? :-\

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2003, 9:10am UTC](https://forum.kirupa.com/t/fmx-adding-new-html-text-to-tf-go-to-another-line/28055/2 "2003-08-09T09:10:38Z")

</div>

Well, when you set the html property of the textfield to false, you get this, all on one line: \< **a href=’#’\>home\<** /a\>\< **a href=’#’** \> \> About\<\*\*/a\>, so I guess the problem is somewhere with the html formatting, or with the asfunction you spoke of.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2003, 9:23am UTC](https://forum.kirupa.com/t/fmx-adding-new-html-text-to-tf-go-to-another-line/28055/3 "2003-08-09T09:23:58Z")

</div>

That’s just it you can get it in one line when if it is not html formatted… That’s basiaclly my question how to make it in one line and have it html formatted :-\

The ASFunction doesn’t reformat the text. It only calls a specific function using a link in the textfield.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2003, 9:33am UTC](https://forum.kirupa.com/t/fmx-adding-new-html-text-to-tf-go-to-another-line/28055/4 "2003-08-09T09:33:43Z")

</div>

hahahahahaha oh man I figured it out! It’s very easy if you really put yourself ino it! :beam: Sorry!

```auto

on(release){
	_global.best += "hahahaha"
	test.htmlText = _global.best;
}

```

I placed a \_global variable as the basis for the new text.

:trout:
