Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : turning dynamic text into a link


pazzoboy
3/7/2004 9:07:44 PM
Hi, I have a dynamic textField. A button has
"on(release){emailText.text="Joe\nJohn";}

I've tried making it "<a href=mailto:joe@joe.com>Joe</a\n<a
href=mailto:john@john.com>John</a>"

I have "render text as html" selected, but it just renders the above as plain
text. Is there a way to dynamically turn text into a link?
Thanks!
kglad
3/7/2004 11:22:41 PM
try:

on (release) {
emailText.htmlText = "< a href='mailto:joe@mm.com'>joe< /A>"; //without the spaces to the right of the left angle brackets.
pazzoboy
3/7/2004 11:43:47 PM
kglad
3/8/2004 2:27:09 PM
AddThis Social Bookmark Button