# Move movieclip blues.... =(

**URL:** <https://forum.kirupa.com/t/move-movieclip-blues/34033>\
**Category:** Uncategorized\
**Created:** [October 27, 2003, 8:06am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033 "2003-10-27T08:06:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hapaboy](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@hapaboy](https://forum.kirupa.com/u/hapaboy)\
**Post date:** [October 27, 2003, 8:06am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/1 "2003-10-27T08:06:58Z")

</div>

Ok after visiting the kirupa forum over the past week i finally got a movement script that worked. The first two movieclips move and it is all good, but I cant get the newthing movieclip to move…  
can i only have two movieclips move. However the first two movieclips called to move are blank movie clips that are loaded externally is that what i am missing??

any help would be appreciated ALOT!!!

code:--------------------------------------------------------------------------------  
on(release){

\_root.products.onEnterFrame = function(){  
this.\_x = 0-(0-this.\_x)/1.2  
this.\_y = 40-(40-this.\_y)/1.2  
}  
\_root.galleryreal.onEnterFrame = function(){  
this.\_x = 20-(20-this.\_x)/1.2  
this.\_y = -620-(-620-this.\_y)/1.2  
}  
\_root.newthing.onEnterFrame = function(){  
this.\_x = 40-(40-this.\_x)/1.2  
this.\_y = -578-(-578-this.\_y)/1.2  
}  
}

* * *

This code is in the first frame of the main movie

code:--------------------------------------------------------------------------------  
\_root.createEmptyMovieClip(“products”, 1);  
loadMovie(“products/products.swf”, \_root.products);  
\_root.products.\_x = -750 ;  
\_root.products.\_y = 40 ;

```
_root.createEmptyMovieClip("galleryreal", 2);
loadMovie("galleryDemo.swf", _root.galleryreal);
_root.galleryreal._x = 20 ;
_root.galleryreal._y = -350 ;

```

* * *

---

<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:** [October 27, 2003, 8:32am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/2 "2003-10-27T08:32:00Z")

</div>

Are you sure you gave it the correct instance name ?

---

<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:** [October 27, 2003, 8:43am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/3 "2003-10-27T08:43:24Z")

</div>

yeah  
[heres the fla](http://www.hapaboy.net/beta/main.fla)

---

<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:** [October 27, 2003, 8:56am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/4 "2003-10-27T08:56:23Z")

</div>

Unexpected File Format :-\

---

<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:** [October 27, 2003, 9:50am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/5 "2003-10-27T09:50:23Z")

</div>

[heres the fla for mx and not mx 2004](http://www.hapaboy.net/beta/main2.fla)  
and thnx for the help

---

<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:** [October 27, 2003, 10:07am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/6 "2003-10-27T10:07:37Z")

</div>

Sorry, didn’t notice this was posted in the 2004 forum 😊  
I’ll have a look right away.

---

<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:** [October 27, 2003, 10:28am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/7 "2003-10-27T10:28:38Z")

</div>

Like this ?

---

<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:** [October 27, 2003, 11:43am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/8 "2003-10-27T11:43:00Z")

</div>

what did you change for my learning knowledge:snug:

---

<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:** [October 27, 2003, 11:44am UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/9 "2003-10-27T11:44:38Z")

</div>

First of all, I gave it an instance name. Then, I changed the instance name in the code on the button. And it worked.

---

<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:** [October 27, 2003, 9:33pm UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/10 "2003-10-27T21:33:55Z")

</div>

THANK YOU OMG!!!

---

<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:** [October 27, 2003, 9:36pm UTC](https://forum.kirupa.com/t/move-movieclip-blues/34033/11 "2003-10-27T21:36:33Z")

</div>

You’re welcome 😉
