Here is a screenshot of two Lists I have created:
http://screencast.com/t/YmY2YWE2M <http://screencast.com/t/YmY2YWE2M>
The dataProvider of the "Glyph Sequences" List is nested within that of
the "Glyph tables" list.
Here's the basic structure of the data:<tables counter="6">  <table
label="Table 1" tableID="-40424819" counter="6">    <sequence
label="Sequence 1"/>    <sequence label="Sequence 2"/>    <sequence
label="Sequence 3"/>    <sequence label="Sequence 4"/>    <sequence
label="Sequence 5"/>    <sequence label="Sequence 6"/>  </table>  <table
label="Table 2" tableID="-40424669" counter="0"/>  <table label="Table
3" tableID="-40424520" counter="0"/>  <table label="Table 4"
tableID="-40424382" counter="0"/>  <table label="Table 5"
tableID="-40424132" counter="0"/>  <table label="Table 6"
tableID="-40423932" counter="0"/></tables>
Each of these Lists allow drag-drop. Normally the drag-drop of List
items is limited to within that List. I use the following (very simple)
dragEnter event handler to do that:
private function limitDropToCurrent(event:DragEvent):void{
if(event.dragInitiator != event.target){  event.preventDefault(); }}

I need to add the ability to drop items from the "Glyph Sequences" List
onto specific items within the "Glyph Tables" list and copy the data
being dragged to that specific "table".
What would be the best way to go about this?
Thanks,Harbs

Reply via email to