# List Component

**URL:** <https://forum.kirupa.com/t/list-component/287834>\
**Category:** Uncategorized\
**Created:** [May 6, 2009, 8:55pm UTC](https://forum.kirupa.com/t/list-component/287834 "2009-05-06T20:55:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crystal](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@Crystal](https://forum.kirupa.com/u/Crystal)\
**Post date:** [May 6, 2009, 8:55pm UTC](https://forum.kirupa.com/t/list-component/287834/1 "2009-05-06T20:55:16Z")

</div>

Hi All-

I have created a game using the Flash list component. I can get everything styled how I want; however, I can’t seem to disable the “selectionColor”. I do not want the list items to be clickable, or highlight at all if a user happens to click on them. Is there a way to turn off the selectionColor, or perhaps at least set the alpha to 0? I was able to successfully turn the “rollOver” off by setting it to “false”, but not the “selectionColor”. Here are the following things I have tried:

setStyle(“selectionColor”, none); —\> defaults to halo green  
setStyle(“selectionColor”, transparent); —\> defaults to halo green  
setStyle(“selectionColor”, false); —\> this turns the selection black when clicked  
setStyle(“selectionColor”, 0); —\> this turns the selection black when clicked

Any help would be greatly appreciated! It’s so frustrating because I don’t want the list items to be clickable, yet haven’t been able to come up with a working solution for this. I am officialy _perplexed_. :-/

Thanks!

-Crystal
