# How to set selected Items in listbox to none?

**URL:** https://forum.kirupa.com/t/how-to-set-selected-items-in-listbox-to-none/197723
**Category:** flash
**Created:** [August 18, 2006, 3:06pm UTC](https://forum.kirupa.com/t/how-to-set-selected-items-in-listbox-to-none/197723 "2006-08-18T15:06:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![schmichael](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@schmichael](https://forum.kirupa.com/u/schmichael)
#### Post date: [August 18, 2006, 3:06pm UTC](https://forum.kirupa.com/t/how-to-set-selected-items-in-listbox-to-none/197723/1 "2006-08-18T15:06:56Z")

</div>

Hi there, just a quick one this, the title probably explains my question sufficiently, I just want to deselect everything in a listbox. I have tried:  
[AS]  
myList\_list.selectedItem = null;  
myList\_list.selectedItem = undefined;[/AS]  
but it wont work.

Would someone let me know the correct syntax pls?  
Thanks,

Schm
