# Flash MX Drag

**URL:** <https://forum.kirupa.com/t/flash-mx-drag/119768>\
**Category:** Uncategorized\
**Created:** [August 17, 2004, 11:16pm UTC](https://forum.kirupa.com/t/flash-mx-drag/119768 "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/119768/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:** ![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:53pm UTC](https://forum.kirupa.com/t/flash-mx-drag/119768/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.
