Re: [flexcoders] Re: How to set the e.currentTarget.selectedItem data to my own VO object?

2008-05-20 Thread EECOLOR
This would mean that e.currentTarget.selectedItem is not an instance of TileListVO. To check this you can run these traces: *var vo:TileListVO = new TileListVO(); trace(getQualifiedClassName(vo)); trace(getQualifiedClassName(e.currentTarget.selectedItem));* If they trace the same name you can

[flexcoders] Re: How to set the e.currentTarget.selectedItem data to my own VO object?

2008-05-19 Thread flexawesome
humm same error msg. I can set data like this... var vo:TileListVO = new TileListVO(); vo.id = e.currentTarget.selectedItem.id vo.name = e.currentTarget.selectedItem.name but I would like to set it at once. any suggestion? thanks --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL

[flexcoders] Re: How to set the e.currentTarget.selectedItem data to my own VO object?

2008-05-19 Thread flexawesome
humm same error msg. I can set data like this... var vo:TileListVO = new TileListVO(); vo.id = e.currentTarget.selectedItem.id vo.name = e.currentTarget.selectedItem.name but I would like to set it at once. any suggestion? thanks --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL