# Drag and Drop (AS2, Flash CS5) urgent

**URL:** <https://forum.kirupa.com/t/drag-and-drop-as2-flash-cs5-urgent/316213>\
**Category:** flash\
**Created:** [November 16, 2010, 6:12am UTC](https://forum.kirupa.com/t/drag-and-drop-as2-flash-cs5-urgent/316213 "2010-11-16T06:12:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ly\_90](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@ly\_90](https://forum.kirupa.com/u/ly_90)\
**Post date:** [November 16, 2010, 6:12am UTC](https://forum.kirupa.com/t/drag-and-drop-as2-flash-cs5-urgent/316213/1 "2010-11-16T06:12:49Z")

</div>

How can I do similar to the link below, but using flash with ActionScript 2.0 instead.

To be able to do something like this:  
[http://live.yworks.com/yfiles-flex/demo/dragAndDrop/DragNDropDemo.swf](http://live.yworks.com/yfiles-flex/demo/dragAndDrop/DragNDropDemo.swf)

When you drag the icons from the left panel onto the stage, and double-click on one of it, a line will be drawn to connect it to another icon. And also the line will stay connected if the icons were to be drag anywhere on the stage.

Thank You
