I thought you were dragging Products
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of bredwards358 Sent: Monday, June 02, 2008 7:18 AM To: [email protected] Subject: [flexcoders] Re: Questions regarding updating dataProviders after a drag & drop --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Normally, you listen for dragDrop or dragComplete events and if you > don't want default behavior, you call preventDefault on the event and do > whatever you want. > > > > So, if I were handling dragging products to a shopping list, I would > write something like this: > > > > public function dragDropHandler(event:DragEvent):void > > { > > var draggedItems:Array = > event.dragSource.dataForFormat("items"); > > var draggedItem:Product = draggeItems[0];//Also, what is this Product data type? I don't quite understand where this comes from >

