# Moving Movieclips

**URL:** <https://forum.kirupa.com/t/moving-movieclips/246288>\
**Category:** flash\
**Created:** [December 9, 2007, 5:49pm UTC](https://forum.kirupa.com/t/moving-movieclips/246288 "2007-12-09T17:49:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheavi](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Sheavi](https://forum.kirupa.com/u/Sheavi)\
**Post date:** [December 9, 2007, 5:49pm UTC](https://forum.kirupa.com/t/moving-movieclips/246288/1 "2007-12-09T17:49:45Z")

</div>

I’m not really experimented with Actionscript and I was wondering why my script wasn’t working. Anyone can help me please?

```auto
on (press) {
	startDrag("_root.La_princesse");
}
on (release) {
	stopDrag();
	if (_root.La_princesse._droptarget == "/case_bleu1")
		_root.case_bleu1.move(x:120.9, y:40.0);
	else
		_root.case_bleu1.move(x:693.9, y:40.0); 
}

```
