hey guys,

it works, i took of myData = .....

uses this ONLY!

myData.removeItemAt(0)?

Thanks all and have a nice day 

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Show us the code that produces that error.
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of flexawesome
> Sent: Saturday, November 03, 2007 9:29 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: remove a item in ArrayCollection
> 
>  
> 
> hummm....
> 
> I got this error msg:
> 
> ===============================
> 
> Severity and Description Path Resource Location Creation Time Id
> 1118: Implicit coercion of a value with static type Object to a
> possibly unrelated type mx.collections:ArrayCollection. test.mxml
> line 69 1194139654331 151789
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "simonjpalmer" <simonjpalmer@>
> wrote:
> >
> > how about 
> > 
> > myData.removeItemAt(0)?
> > 
> > --- In flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> , "flexawesome" <flexawesome@>
> wrote:
> > >
> > > 
> > > 
> > > Hey there,
> > > 
> > > I have a problem to remove the first *object* in myData, any
> suggestion?
> > > 
> > > Thank you 
> > > 
> > > =========================== 
> > > 
> > > 
> > > [Bindable]
> > > private var myData:ArrayCollection;
> > > 
> > > myData.removeItemAt(myData.getItemAt(0));
> > >
> >
>


Reply via email to