Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Highlight Links in Dynamic Text Box?

Status
Not open for further replies.

tyleri

Programmer
Jan 2, 2001
173
US
I have dynamic text boxes as part of a menu system with the text of these dynamic text boxes originating from a text file on the server. I am using HTML in this text file so I have a lot of <a href> links. When viewed in flash, how would I make the links change color when I mouse-over them?

The way it is set up now, the only way a user would know it was a link is if they noticed the mouse cursor change, but I don't think that is good enough. Anybody have any suggestions about this?
 
The only way so could presently indicate that it's a link is by underlining that text!
The <U> tag is one of the few tags (from html 1.0) supported by Flash. You can set a different color than the rest of your text but won't be able to change it on mouseover.
Use something like this:
Code:
'<A HREF=&quot;[URL unfurl="true"]http://www.homedepot.com/&quot;><U>Home[/URL] Depot</U></A><BR>'

Note: no linebreaks in the above.

Check this for other supported tags:
mywink.gif
ldnewbie
Hope that this
was helpful!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top