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