# Drag and Drop

**URL:** <https://forum.kirupa.com/t/drag-and-drop/120489>\
**Category:** Uncategorized\
**Created:** [August 24, 2004, 10:06pm UTC](https://forum.kirupa.com/t/drag-and-drop/120489 "2004-08-24T22:06:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mad\_Flasher](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Mad\_Flasher](https://forum.kirupa.com/u/Mad_Flasher)\
**Post date:** [August 24, 2004, 10:06pm UTC](https://forum.kirupa.com/t/drag-and-drop/120489/1 "2004-08-24T22:06:33Z")

</div>

I am creating this flash feature for a furniture site were the user can drag and drop various objects, as well as rotate them (note: it only needs to be a 2D vied from the top) and be able to save them and view them later.

Does anybody know of any AS that can be used to do this, or even better a tutorial showing how thins can be done.

Thanks in advance  
Mad Flasher

---

<div class="post-metadata">

**Author:** ![ratbaggy](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@ratbaggy](https://forum.kirupa.com/u/ratbaggy)\
**Post date:** [August 25, 2004, 1:43am UTC](https://forum.kirupa.com/t/drag-and-drop/120489/2 "2004-08-25T01:43:49Z")

</div>

startDrag()  
stopDrag()

---

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [August 25, 2004, 1:54am UTC](https://forum.kirupa.com/t/drag-and-drop/120489/3 "2004-08-25T01:54:25Z")

</div>

To drag it:[AS]on (press) {  
startDrag(this);  
}  
on (release) {  
stopDrag();  
}[/AS]As far as doing the other stuff you mentioned, that’s a little out of my league.

---

<div class="post-metadata">

**Author:** ![bodyvisual](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bodyvisual/32/564_2.png) [@bodyvisual](https://forum.kirupa.com/u/bodyvisual)\
**Post date:** [August 25, 2004, 1:59am UTC](https://forum.kirupa.com/t/drag-and-drop/120489/4 "2004-08-25T01:59:07Z")

</div>

on (press) {  
this.\_rotation = moakdkja

68933  
adkj  
ag

😉

wizards method works perfectly 🙂

---

<div class="post-metadata">

**Author:** ![Mad\_Flasher](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Mad\_Flasher](https://forum.kirupa.com/u/Mad_Flasher)\
**Post date:** [August 25, 2004, 10:19am UTC](https://forum.kirupa.com/t/drag-and-drop/120489/5 "2004-08-25T10:19:44Z")

</div>

k well thanks guys, im off to try that now

---

<div class="post-metadata">

**Author:** ![Mad\_Flasher](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Mad\_Flasher](https://forum.kirupa.com/u/Mad_Flasher)\
**Post date:** [August 25, 2004, 10:25am UTC](https://forum.kirupa.com/t/drag-and-drop/120489/6 "2004-08-25T10:25:26Z")

</div>

bodyvisual, do I replace moadkja with the value it should rotate when clicked??

or would it be possible to do it so that the user can rotate it as mush as they want
