# Drag and Drop x,y cordinates?

**URL:** https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548
**Category:** Uncategorized
**Created:** [May 10, 2003, 3:15am UTC](https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548 "2003-05-10T03:15:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cardjorg](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@cardjorg](https://forum.kirupa.com/u/cardjorg)
#### Post date: [May 10, 2003, 3:15am UTC](https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548/1 "2003-05-10T03:15:53Z")

</div>

Hello  
can anyone help me please :q:

My problem is:

I want to drag and drop a button to sertain spesific x,y coordinates so when I drag it, I can redrag it to another x,y coordinates.

so if you read this and you have some idea of how to do it please tell me

```
                                                      Thankyou
```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 10, 2003, 7:38am UTC](https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548/2 "2003-05-10T07:38:16Z")

</div>

care to elaborate on that? 😉

anyway, you might find the answer in these links…  
[http://proto.layer51.com/d.aspx?f=349](http://proto.layer51.com/d.aspx?f=349)  
[http://proto.layer51.com/d.aspx?f=498](http://proto.layer51.com/d.aspx?f=498)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 11, 2003, 6:32am UTC](https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548/3 "2003-05-11T06:32:18Z")

</div>

> \*Originally posted by kax \*  
> \*\*care to elaborate on that? 😉

anyway, you might find the answer in these links…  
[http://proto.layer51.com/d.aspx?f=349](http://proto.layer51.com/d.aspx?f=349)  
[http://proto.layer51.com/d.aspx?f=498](http://proto.layer51.com/d.aspx?f=498) \*\*

Thanks for telling about those links I apreciated but it’s not exactly what I wanted or may be I’m just an amature and I don’t understand alot of Action script but If you could download this example of what I’m doing “test” and tell me what I’m doing wrong please

thankyou 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 11, 2003, 3:59pm UTC](https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548/4 "2003-05-11T15:59:18Z")

</div>

You can test for a certain area with the \_droptarget property… That will pick up whether or not a dragged object has been dropped in a specific zone. You can also pull data from \_x and \_y…

I’ll have a look at the .fla in a minute, see what’s going on.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 11, 2003, 5:11pm UTC](https://forum.kirupa.com/t/drag-and-drop-x-y-cordinates/20548/5 "2003-05-11T17:11:43Z")

</div>

here you go i just created a draggable movie clip instead of using a button, i dont use buttons i dislike em and i put all of the action on 1 layer so you dont have to wander through the fla to find actions :beam:

check it out

is this what you wanted??
