RE: [flexcoders] Re: AIR drag/drop via asynchronous download

2008-05-16 Thread Battershall, Jeff
The way I approached this problem was having my command class fire off delegates for each download and listen for a successful download event. When the all the files in my batch have been downloaded, I updated a watched variable in my ModelLocator, which in turn executed other logic. Jeff

RE: [flexcoders] Re: AIR drag/drop via asynchronous download

2008-05-16 Thread Battershall, Jeff
In my case, I was using a Tree control. Each element contains the meta data I need to have to drive the download process. When I start the drag, I take the data provider and create an array of value objects that I add to the drag source by dragSource.addData(resultItems,items); Jeff