That works! Thanks
MC
Use the click event of the button to call list.removeAll() to remove all
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Johnson
Sent: Tuesday, April 11, 2006 10:38 AM
To: [email protected]
Subject: RE: [flexcoders] Removing Items from a list
of the items or removeItemAt(int) to remove a specific list item.
Is that what you are asking? If you want to remove the list item that is
selected, you should be to just do
list.removeItemAt(list.selectedIndex); in the click event handler for
the button.
|<
Karl Johnson
Cynergy Systems
http://www.cynergysystems.com
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of merrittwchapman
Sent: Monday, April 10, 2006 3:30 PM
To: [email protected]
Subject: [flexcoders] Removing Items from a list
Can someone provide me with an example of how to use actionscript to
remove items from a list control by clicking a button?
Thanks!
MC
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

