English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi. I have a simple flash application where it gets info from an xml file and populates a dynamic text area.
Problem is the text I get from the xml file needs to contain a link. Is there any way to make certain texts that I get from the xml file into a link?
I've looked into using htmlText.. say..
myTextArea.htmlText = ' hello world';
This works except I do not know how to apply styles to it (on mouseover make text underline, etc)

Is there any simpler way to make certain texts a link? Please let me know of all possible ways you can think of. Thanks in advance.

2007-11-16 03:29:12 · 1 answers · asked by jk 1 in Computers & Internet Programming & Design

1 answers

for the underline, use ..., for mouseover effects, use something like myTextArea.onRollOver = function() { insert stuff here }, then do myTextArea.onRollOut = function() { insert what you want after they roll off }

unfortunately, there's no magic way to create links from xml files in flash. sorry.

good luck!

2007-11-16 04:06:49 · answer #1 · answered by Jen 2 · 0 0

fedest.com, questions and answers