Sorry, I of course meant getItemIndex - not getItemAt. It just puzzles me why there isn't a remove() method. It's a bit verbose to write array.removeItemAt( array.getItemIndex( item ) ) instead of array.remove(item). wouldn't you agree?

On 1/26/06, Matt Chotin <[EMAIL PROTECTED]> wrote:

There's getItemIndex (may only be in beta?) which you can use in conjunction with removeItemAt.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of gunnar a reinseth
Sent: Tuesday, January 24, 2006 1:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Collections...

 

hi,

For the first time i've tried out the collections api in ActionScript 3, more specifically the IList interface. And it struck me: Where is the remove() method? There's certainly a removeItemAt() and a getItemAt() method. Is remove() just forgotten?

--
gunnar



--
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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to