Studck :(

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 :slight_smile:

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/htmltext.htm

*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 :slight_smile:

:p:

*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/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.

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

*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.

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

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

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. :wink:

^

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

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

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

:*(

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.

I got it to work, lostinbeta. :slight_smile: Thank you! :slight_smile:

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

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

^

No wonder I was so frustrated!