# User Interaction: Moving images

**URL:** https://forum.kirupa.com/t/user-interaction-moving-images/116764
**Category:** Uncategorized
**Created:** [July 21, 2004, 7:34am UTC](https://forum.kirupa.com/t/user-interaction-moving-images/116764 "2004-07-21T07:34:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![flufilms](https://avatars.discourse-cdn.com/v4/letter/f/e56c9b/32.png) [@flufilms](https://forum.kirupa.com/u/flufilms)
#### Post date: [July 21, 2004, 7:34am UTC](https://forum.kirupa.com/t/user-interaction-moving-images/116764/1 "2004-07-21T07:34:01Z")

</div>

I would like to present a number of images which can be moved around within the flash presentation, eventually leading to a personalised picture which can then be saved and emailed to me…

I’ll worry about saving the info later, I’m new to flash and have gained basic ability, my essential ‘catalogue’ is already built but I’m having trouble working out how to allow certain images the user interaction I require - any ideas? Or possibly and examples I can download and fiddle with?

Any help would be greatly greatly appreciated.

N

---

<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: [July 21, 2004, 2:01pm UTC](https://forum.kirupa.com/t/user-interaction-moving-images/116764/2 "2004-07-21T14:01:26Z")

</div>

You can add this actionscript to your images. Make them to buttons first.

```auto

 on (press) {
 	startDrag(this, false, 0, 0, width_in_pixels, hight_in_pixels);
 }
 
 on (release) {
 	stopDrag();
 }
 

```

Replace width\_in\_pixels and hight\_in\_pixels with your own draggable area.

If you have any questions, you’re welcome to ask!

/  
Simon Henriksen
