# Flash MX Drag

**URL:** https://forum.kirupa.com/t/flash-mx-drag/61350
**Category:** flash
**Created:** [August 17, 2004, 11:16pm UTC](https://forum.kirupa.com/t/flash-mx-drag/61350 "2004-08-17T23:16:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![BrownstoneBen](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@BrownstoneBen](https://forum.kirupa.com/u/BrownstoneBen)
#### Post date: [August 17, 2004, 11:16pm UTC](https://forum.kirupa.com/t/flash-mx-drag/61350/1 "2004-08-17T23:16:34Z")

</div>

Hi, sorry to post on these forums without helping other people. I shall try !

Basically im having grief trying to make a movie draggable with “ease”. I have a series of images which i have by virtue of some code, made into a 2.5D image. Simply speaking, they all move at different speeds with the largest foreground images moving fastest. What i would like to implement, is a draggable eased tween with code, so that when the user clicks on the movie clip, they can drag it to certain predefined areas. 😃 anyone have any ideas?

any response to any part of this would be gratefully received,

many thnx,

Ben

---

<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: [August 17, 2004, 11:53pm UTC](https://forum.kirupa.com/t/flash-mx-drag/61350/2 "2004-08-17T23:53:15Z")

</div>

btw this is the code im using for the 2.5d:

```auto
 
counter = "1";[size=2]
while (Number(counter)<Number(Number(elements)+1)) {

xpos = getProperty(counter, _x);

xpos = xpos + (eval("z" add counter) * 5);

setProperty(counter, _x, xpos + (eval("z" add counter) * 5));

counter = Number(counter)+1;

}

[/size] 

```

all of the movie clips have a z value assinged to them for the x elements.
