# Selecting Text From List

**URL:** <https://forum.kirupa.com/t/selecting-text-from-list/259043>\
**Category:** flash\
**Created:** [April 30, 2008, 4:15pm UTC](https://forum.kirupa.com/t/selecting-text-from-list/259043 "2008-04-30T16:15:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcmcgeary](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@dcmcgeary](https://forum.kirupa.com/u/dcmcgeary)\
**Post date:** [April 30, 2008, 4:15pm UTC](https://forum.kirupa.com/t/selecting-text-from-list/259043/1 "2008-04-30T16:15:02Z")

</div>

function FillBox() {  
ListBox.text = “”;  
for (i = 1; i \< NameList.length; i++) {  
if ((i \> 1) && (NameList\* != “noName”)) {  
ListBox.text = ListBox.text + “\r” + NameList\*;  
} else if (NameList\* != “noName”){  
ListBox.htmlText = “\<A HREF=“asfunction:RemoveName,” + NameList\* + “”\>” + NameList\* + “\</A\>”;  
}  
}  
}

The formatting for the hyperlinked tag is right, but when I try to concat the htmlText field i don’t get the ability to click. All selectable, just no hyperlink. Is there something I can do to fix this?
