# Dragging with custom pointer

**URL:** <https://forum.kirupa.com/t/dragging-with-custom-pointer/42027>\
**Category:** flash\
**Created:** [February 4, 2004, 10:40am UTC](https://forum.kirupa.com/t/dragging-with-custom-pointer/42027 "2004-02-04T10:40:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![capt\_ace](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@capt\_ace](https://forum.kirupa.com/u/capt_ace)\
**Post date:** [February 4, 2004, 10:40am UTC](https://forum.kirupa.com/t/dragging-with-custom-pointer/42027/1 "2004-02-04T10:40:48Z")

</div>

I can’t seem to find any posts on this, but please let me know if there is.

I’m writting an interactive map of the city of Swansea. I’m using start drag to allow navigation aroud the map, but my custom pointer dies when ever you start to drag the map.

I’ve attached a cut down version of the map.

Any help would be tops.

Thanks

Capt,

---

<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:** [February 4, 2004, 12:19pm UTC](https://forum.kirupa.com/t/dragging-with-custom-pointer/42027/2 "2004-02-04T12:19:48Z")

</div>

Rather than  
[AS]  
onClipEvent(load) {  
startDrag("", true);  
}  
[/AS]  
Use  
[AS]  
onClipEvent(enterFrame) {  
this.\_x = \_root.\_xmouse;  
this.\_y = \_root.\_ymouse;  
}  
[/AS]

---

<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:** [February 4, 2004, 12:25pm UTC](https://forum.kirupa.com/t/dragging-with-custom-pointer/42027/3 "2004-02-04T12:25:25Z")

</div>

Don’t forget

[AS]  
Mouse.hide();  
[/AS]

---

<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:** [February 4, 2004, 12:38pm UTC](https://forum.kirupa.com/t/dragging-with-custom-pointer/42027/4 "2004-02-04T12:38:27Z")

</div>

Why didn’t I think of that… Doh!

Thanks both,

Capt,

---

<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:** [February 4, 2004, 12:40pm UTC](https://forum.kirupa.com/t/dragging-with-custom-pointer/42027/5 "2004-02-04T12:40:30Z")

</div>

> Why didn’t I think of that… Doh!

lol Don’t worry about it…it’s the simple problems that cause ALL of us the most problems.

Glad to have helped

Cheers 🍺
