# Studck :(

**URL:** https://forum.kirupa.com/t/studck/26970
**Category:** flash
**Created:** [July 28, 2003, 8:33pm UTC](https://forum.kirupa.com/t/studck/26970 "2003-07-28T20:33:56Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![xarynna](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@xarynna](https://forum.kirupa.com/u/xarynna)
#### Post date: [July 28, 2003, 8:33pm UTC](https://forum.kirupa.com/t/studck/26970/1 "2003-07-28T20:33:56Z")

</div>

I’m currently working on my design portfolio. I used one of the Advanced Flash MX tutorials on this site to load external text. It worked great, however, I am not able to format text files (bold face certain text, etc). I read somewhere in the past that you can load HTML as an external file and it would keep the text formatting.

Anyone know how I can 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: [July 28, 2003, 8:49pm UTC](https://forum.kirupa.com/t/studck/26970/2 "2003-07-28T20:49:13Z")

</div>

Welcome to kirupa forum, xarynna. =)

Check out these links:  
[http://www.macromedia.com/support/flash/ts/documents/scrolling\_text\_mx.htm](http://www.macromedia.com/support/flash/ts/documents/scrolling_text_mx.htm)  
[http://www.macromedia.com/support/flash/ts/documents/htmltext.htm](http://www.macromedia.com/support/flash/ts/documents/htmltext.htm)

---

<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 28, 2003, 9:00pm UTC](https://forum.kirupa.com/t/studck/26970/3 "2003-07-28T21:00:50Z")

</div>

> \*Originally posted by fluid\_0ne \*  
> \*\*you can use “Render text as HTML” text option… \*\*

Pardon my ignornace, but where is that located? (You can tell I don’t spend so much time in Flash MX. Most of my old client work was predominantly Photoshop and Dreamweaver only).

And thanks for the welcome, guys 🙂

:p:

---

<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 28, 2003, 9:03pm UTC](https://forum.kirupa.com/t/studck/26970/4 "2003-07-28T21:03:08Z")

</div>

> \*Originally posted by kax \*  
> \*\*Welcome to kirupa forum, xarynna. =)

Check out these links:  
[http://www.macromedia.com/support/flash/ts/documents/scrolling\_text\_mx.htm](http://www.macromedia.com/support/flash/ts/documents/scrolling_text_mx.htm)  
[http://www.macromedia.com/support/flash/ts/documents/htmltext.htm](http://www.macromedia.com/support/flash/ts/documents/htmltext.htm) \*\*

Flash 5? Does it work the same as Flash MX?

Dang my head is hurting form looking at that tutorial! _LOL_ I got waaay confused right there.

Seems like there aren’t any Flash tutorials online that aren’t confusing anymore… Except for the ones in this site. I actually think they are very well formatted and very well explained.

---

<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 28, 2003, 9:05pm UTC](https://forum.kirupa.com/t/studck/26970/5 "2003-07-28T21:05:13Z")

</div>

text tool [t]

make it a dynamic text

you have 3 little buttons in the bottom center:  
select text, RENDER AS HTML and border around text

---

<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 28, 2003, 9:07pm UTC](https://forum.kirupa.com/t/studck/26970/6 "2003-07-28T21:07:31Z")

</div>

> \*Originally posted by fluid\_0ne \*  
> \*\*text tool [t]

make it a dynamic text

you have 3 little buttons in the bottom center:  
select text, RENDER AS HTML and border around text \*\*

And this means I can add HTML tags on the text file? Sorry too many questions. I’ve been working non-stop on this since Friday Night.

---

<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 28, 2003, 9:08pm UTC](https://forum.kirupa.com/t/studck/26970/7 "2003-07-28T21:08:05Z")

</div>

You need to first HTML enabled your textbox… [AS]textBoxInstanceName.html = true[/AS] Then you will need to tell flash that the text it reads should be rendered as HTML formatted text instead of regular text. So that would go like this… [AS]textBoxInstanceName.htmlText = this.textVariable[/AS] And what do we end up with? [AS]textBoxInstanceName.html = true;  
textBoxInstanceName.htmlText = this.textVariable;[/AS]

And as posted before, this following link tells you what tags you are allowed to use in the external .txt file…

[http://www.macromedia.com/support/flash/ts/documents/htmltext.htm](http://www.macromedia.com/support/flash/ts/documents/htmltext.htm)

---

<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 28, 2003, 9:08pm UTC](https://forum.kirupa.com/t/studck/26970/8 "2003-07-28T21:08:49Z")

</div>

yes, but html v1 only (B, I, U, A, face)

---

<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 28, 2003, 9:10pm UTC](https://forum.kirupa.com/t/studck/26970/9 "2003-07-28T21:10:56Z")

</div>

Yup, what really interests you, xarynna, is near the bottom of the page in the first link. Now you don’t have to look at it because lostinbeta posted it here. =)

And I posted the second link for you to see which tags are supported by Flash. 😉

---

<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 28, 2003, 9:15pm UTC](https://forum.kirupa.com/t/studck/26970/10 "2003-07-28T21:15:55Z")

</div>

^

Thanks you guys, and I 'm so sorry for giving you all so much trouble!!! ☹

Oh I am aware of which HTML formatting tags are useful in flash. However, when I actually used the text formatting tags, it doesn’t show up on my file! Gah! I guess I’ll have to work on it.

Hopefully I’ll get this folio done by tomorrow night. I didn’t know actionscripting could take so long. I make sure I understand em first rather than just copying and pasting.

Again, thank you! I’ll bug you all again if I need help. I’m not here very often. _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 29, 2003, 8:06pm UTC](https://forum.kirupa.com/t/studck/26970/11 "2003-07-29T20:06:24Z")

</div>

Grrr… ok I’m pissed.

I STILL don’t get it. I did exactly what you did but the \<B\>\</B\> tags are STILL showing up on the boldfaced title (It’s in the text file)

Where the heck should I put my tags anyway?

_grows REALLY impatient at flash_

:\*(

---

<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 29, 2003, 8:25pm UTC](https://forum.kirupa.com/t/studck/26970/12 "2003-07-29T20:25:01Z")

</div>

It’s 2 lines, I don’t see why it isn’t working for you.

Check my attachment, maybe you will find what you are doing wrong.

---

<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 30, 2003, 6:34pm UTC](https://forum.kirupa.com/t/studck/26970/13 "2003-07-30T18:34:43Z")

</div>

I got it to work, lostinbeta. 🙂 Thank you! 🙂

I figured I’ve been doing it right all along. The BOLD just doesn’t show on 10 point verdana for some reason ☹

---

<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 31, 2003, 2:53am UTC](https://forum.kirupa.com/t/studck/26970/14 "2003-07-31T02:53:29Z")

</div>

Oh yeah… I forgot about that. I found that out the hard way as well almost a year ago.

---

<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 31, 2003, 5:39am UTC](https://forum.kirupa.com/t/studck/26970/15 "2003-07-31T05:39:56Z")

</div>

^

No wonder I was so frustrated!
