# B tag in html text not working

**URL:** https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575
**Category:** Uncategorized
**Created:** [July 2, 2003, 10:28am UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575 "2003-07-02T10:28:34Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Kalim](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@Kalim](https://forum.kirupa.com/u/Kalim)
#### Post date: [July 2, 2003, 10:28am UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/1 "2003-07-02T10:28:34Z")

</div>

hi friends,  
i have dynamically loaded multiple line text. in txt file only the first line is having bold tag then there is a br tag.  
here the br tag works fine but the text between bold tag disappears.

can anyone suggest me a solution ?

Note : text is rendered as html

---

<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: [July 2, 2003, 11:39am UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/2 "2003-07-02T11:39:48Z")

</div>

Could you post the .fla please? 🙂

---

<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: [July 2, 2003, 11:56am UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/3 "2003-07-02T11:56:59Z")

</div>

and the text file 😛

---

<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: [July 2, 2003, 1:08pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/4 "2003-07-02T13:08:57Z")

</div>

hello friends,  
thanks for your response. i found the solution myself. actually i have to select the bold option from flash program itself. which embeded the bold fonts too. and the problem is solved. but the file size heavy, as its embeding the regular and the bold fonts both.

anyone knows the more efficient way ?

thanks again

---

<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: [July 2, 2003, 1:11pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/5 "2003-07-02T13:11:20Z")

</div>

hmm… I’m sure you shouldn’t have to do that… but I always have problem with dynamic/html text… can’t remember if I ever actually got it working properly… I’m sure I did…

:-\

---

<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: [July 2, 2003, 2:16pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/6 "2003-07-02T14:16:26Z")

</div>

You actually do have to embed everything to get the bold text or itialic text. I don’t know if it would work, but try using a system font that everyone has. It isn’t as fun, but I think your file size would go down. Use like Ariel, Times New Roman, or my favorite Trebuchet MS. Also, if you are using a complex font, it’s going to eat up more space.

---

<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: [July 2, 2003, 4:09pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/7 "2003-07-02T16:09:46Z")

</div>

Actually, when embedding font outline, flash doesnt always embed bold and italic… so if u want to use those styles on your txt file, here’s a trick.  
Just make a simple dynamic text on your swf, write something using bold/italic (whichever you need, or both), set the color font the same as your background, uncheck selectable option and embed the font.

By doing dat, this little text will be invisible and you’ll be able to use both bold and italics on ur txt file.

🙂

---

<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: [July 2, 2003, 5:49pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/8 "2003-07-02T17:49:01Z")

</div>

Right…but it would still embed the font outlines for all three styles making the file size bigger, true?

---

<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: [July 2, 2003, 5:51pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/9 "2003-07-02T17:51:22Z")

</div>

Yes, my advice is only embed the styles u really need, because the file size will triplicate if u embed regular/bold/italic.

---

<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: [July 2, 2003, 5:58pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/10 "2003-07-02T17:58:26Z")

</div>

Okay, I thought I said something wrong…:crazy:

---

<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: [July 2, 2003, 7:03pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/11 "2003-07-02T19:03:56Z")

</div>

i think all you have to do is

html = true ;

when you load your textfile, i never have a problem, but then again im just the coolest guy in town 🙂 lol

---

<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: [July 2, 2003, 9:13pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/12 "2003-07-02T21:13:51Z")

</div>

Must be a small town…(heeheehee)

---

<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: [July 2, 2003, 10:39pm UTC](https://forum.kirupa.com/t/b-tag-in-html-text-not-working/24575/13 "2003-07-02T22:39:31Z")

</div>

> \*Originally posted by Freddythunder \*  
> \*\*Must be a small town…(heeheehee) \*\*

lmao 🙂
