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