# HELP! Simulate background-color/highlight on links

**URL:** <https://forum.kirupa.com/t/help-simulate-background-color-highlight-on-links/233372>\
**Category:** flash\
**Created:** [July 23, 2007, 2:40pm UTC](https://forum.kirupa.com/t/help-simulate-background-color-highlight-on-links/233372 "2007-07-23T14:40:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstachiw](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@mstachiw](https://forum.kirupa.com/u/mstachiw)\
**Post date:** [July 23, 2007, 2:40pm UTC](https://forum.kirupa.com/t/help-simulate-background-color-highlight-on-links/233372/1 "2007-07-23T14:40:43Z")

</div>

I need the links on an XML loaded menu to simulate css background-color or highlight. Since I first attempted this through CSS the dynamic text box containing the loaded menu is set to read html and all links are function calls through html ascommands.

So far I looked into setSelectedColor which does not work dynamic text (static only)  
Actionscript skips background-color in CSS. TextField.backgroundColor affects the entire text field but I need to change only the string of text that the cursor rollsover on links.

It blows my mind how overly complicated this is in Flash.

Is there a way to do this? Existing tutorial perhaps? If not can you recommend a good XML scrolling menu tutorial using duplicate movieclip method since most likely I’ll have to change my methodology in creating this menu.

thanks

mike
