Drag and Drop (AS2, Flash CS5) urgent

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

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