Answered
Dynamic popup text box...
I have a text box with a ton of text in it (multiple
paragraphs). Functionally, what I'd like to do is have it so that I
can have people click on (or roll over) certain words, and then a
definition pops up in a blue box (kinda like a tooltip)...
I could make one "box" movieclip with a dynamic text field in it, and then just use it as a transparent button over each word that needs to be defined within the paragraph (loading the definition text inside the "box" dynamically), but I wouldn't know how to adjust the size of the box so that it fits each definition's text. (like, some definitions may be a couple words, and some may be a sentence or two, so if the box is always just one size, that won't work)...
That being said, the only thing I can think of is having a separate "box" movieclip (each sized to its separate dimentions) in the library. But with all of those definitions, that will increase the file size huge...
There's gotta be a simple solution to this that I'm missing - any ideas?! Thanks!...
I could make one "box" movieclip with a dynamic text field in it, and then just use it as a transparent button over each word that needs to be defined within the paragraph (loading the definition text inside the "box" dynamically), but I wouldn't know how to adjust the size of the box so that it fits each definition's text. (like, some definitions may be a couple words, and some may be a sentence or two, so if the box is always just one size, that won't work)...
That being said, the only thing I can think of is having a separate "box" movieclip (each sized to its separate dimentions) in the library. But with all of those definitions, that will increase the file size huge...
There's gotta be a simple solution to this that I'm missing - any ideas?! Thanks!...
