title: Want help to create a list in as3/flash
body: <p>I want to create a scrollable list in flash/as3 and the important thing is.... if the user wants to move some list item up or down... he can do that by dragging the item... so when he press and hold on an item... the item will become drag-able and as the user moves it up or down the list, the other items should slide to the empty space. Its the same behavior seen in smartphones.... </p>
  
  <p>I'll figure out the creation, data filling, scrolling, and other mouse interaction events.... i just want help with this one behavior....of changing the order of items by dragging them. If only someone can just provide the basic algorithm or any idea how this can be achieved.. it will be enough. </p>
  
  <p>​Thanks in advance </p>
  
  <p><strong>EDITS :</strong></p>
  
  <p>First of all... i apologize for not posting any details about the question... (this is my first post to this site) and hence i am adding all the research and what i have done so far.</p>
  
  <ul>
  <li>the list is part of a big project hence i cannot share the whole code.</li>
  </ul>
  
  <p>WHAT I HAVE ALREADY DONE :</p>
  
  <ul>
  <li>i have created a mask, a container, a scroll bar to scroll the container, items to add into the list, methods to add items, remove items and arrange them according to the order.</li>
  <li>hence it is a scrallable and working list.</li>
  <li>the whole thing is in as3 and flash only.</li>
  <li>i don't know flex and i don't want to use it either.</li>
  </ul>
  
  <p>WHAT I WANT NEXT :</p>
  
  <ul>
  <li>i want to change the order of these items by (mouse_down on an item -> drag it up/down -> mouse_up at the position) sequence.</li>
  </ul>
  
  <p>If anyone wants more details i can share it.</p>
  
  <p>Thanks in advance.. :)</p>