Hi All

I'm working on a large Flex project.  The scenario..

I have a search screen that returns results to a tileList.  I've got
an alternative view using an Advanced Data Grid.

So - you fill out search criteria, hit the search button and it brings
back results to the tileList - clicking on button flips the screen
around and displays the data using Grid.

A user can select 1 or more items from either the TL or the ADG and
drag them to another grid.

This all works a treat.  But... (isn't there always)

The powers that be want a user to be able to highlight items and click
an add button in addition to the drag.

This isn't a problem - I've got this working. But...

They now want user feedback.  When a user clicks the add button they
want to see the same dragImage appear and move to the second datagrid.

This in itself is not a big issue, the issue I'm having is how to
create the dragImage.

I know I could create one myself but I'm already stretched to the
limit on time and I don't like re-inventing the wheel.  Adobe have
done a good job and I'd like to tap into their codebase.

What I'm looking for is a way to say Here's a listComponent (either
tileList/DataGrid/ADG etc) create me an dragImage based on the
selectedItem(s).

In a perfect world I would say - here's the source component, here's
the target and it would create a dragImage popup it up on the screen
and animate it.  Leaving me a few lines of code to manage the data
transfer.

I've searched everywhere on the web - it's actually quite unusual to
find a Flex problem that hasn't been answered by someone before.  If
this has - apologies.

I can see that I would get a lot of use out of this.  Drag and Drop is
just too quick and easy but I also take the point that it isn't common
on the web and a more traditional approach is also needed.

If anyone can help me magic a dragImage it would be great.

Many Thanks

Rich

Reply via email to