Skip to main content
Inspiring
June 27, 2006
Answered

Help with Dynamic Text boxes

Hello,

I've drawn a dyamic text box on the stage and am manually entering text into it. Reason being, I'm trying to embed the font in the Flash file, and this is the only way I know how

Here's what I'd like to do:

- Create a scrollable text box
- Embed specific font
- Be able to underline/bold/hyperlink certain keywords in the text box
- Be able to embed an image in the paragraph so that it can scroll as well
- Justify text on both sides
- NOT import HTML text from an external file, or encode an HTML string into a TextArea box

Any help or links to posts/tutorials would be greatly appreciated!
This topic is closed to new replies. Start a new post to keep the conversation going.
MacGyver_971Correct answer
Inspiring
June 28, 2006
No, there's no other flashinternal possibility. You must use the <u> tag.

But you could clone the fontface you use and add underscores to all glyphs.
Then you can change the underline stat by changing the fontface for the selection you want to underline.
I've done that before and it worked very well for me.


Thanks very much for the help. I actually thought about this idea soon after my last post.

What application did you use to quickly add an underline feature to any particular font?

Strange how Bold and Italic would be native formatting, but not underlining...

4 replies

Known Participant
June 27, 2006
Hi,

I'm not sure if i understand your problem.
You need html tags to manipulate text (underline/bold/italic). Embedding an image inside a dyn textbox needs Html, too.
Search for "TextFormat" in the Flash Manual and you'll find all the tags you may need.
Translate
Inspiring
June 27, 2006
Hi,

Thanks for getting back to me. I'm aware of how to link HTML text to a textbox. However, I can't use a "tags-based" approach. I'm typing text directly into a Dynamic Text box I drew on-screen. I can Bold or Italic text, since the icons are shown in the Properties toolbar. However, Underline isn't there. So, when I have a link, for example, there's no way to underline the text (and not by using the </u> tags). Does this make sense?

Neal.
Translate
Known Participant
June 27, 2006
No, there's no other flashinternal possibility. You must use the <u> tag.

But you could clone the fontface you use and add underscores to all glyphs.
Then you can change the underline stat by changing the fontface for the selection you want to underline.
I've done that before and it worked very well for me.

Translate