# Random Movement in Flash MX

**URL:** <https://forum.kirupa.com/t/random-movement-in-flash-mx/21245>\
**Category:** Uncategorized\
**Created:** [May 19, 2003, 3:44pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245 "2003-05-19T15:44:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricjg](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@ricjg](https://forum.kirupa.com/u/ricjg)\
**Post date:** [May 19, 2003, 3:44pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/1 "2003-05-19T15:44:44Z")

</div>

I’ve read the Random Movement in Flash MX tutorial, and it works great, very easy to follow and to create the animation! Thanks to Suprabeener and Kirupa!!!  
Thing is…I’m trying to create a movie with random moving buttons, I’ve created a button and convert it into a movie clip so I can had the AS code. Although working well on the various states, (up, down, over)…the buttons don’t work when I try link them with a get URL or a go to frame action!

How can I make it work?

And is it possible to stop the selected button from moving randomly when a mouse is over it and start to movement again once the mouse rolls out!

---

<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:** [May 19, 2003, 5:40pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/2 "2003-05-19T17:40:04Z")

</div>

have u been linkin the urls in the button clip then converting the linked button into a movie clip

the code for it to stop will be like in the movieclips actions

onmouseover  
(stop)

im not very good at actionscript so it isnt that but ull get the idea for it to start again i aint sure ill have a fiddle tonite and post something up

---

<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:** [May 19, 2003, 6:56pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/3 "2003-05-19T18:56:37Z")

</div>

any questions? just ask. 😉

---

<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:** [May 19, 2003, 10:32pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/4 "2003-05-19T22:32:58Z")

</div>

hmmm…i think i´ve put the actions on the movie clip after converting the button!!!maibe thats why is going wrong!  
thanks novatake i will try to do what u have said!!

Kax, have u seen the site [www.toca-me.com](http://www.toca-me.com).  
that site is one god example of what i´m trying to do whith my buttons! The site as great design and great flash…but thats my opinion!!

have to see that fla you post!!!

thanks for helping guys!!

news soon!  
😏

---

<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:** [May 19, 2003, 11:39pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/5 "2003-05-19T23:39:35Z")

</div>

yeah… i’ve seen it. actually, i read your other thread, but i didn’t have time at that moment. that’s why i replied to this one. =)

---

<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:** [May 21, 2003, 2:24am UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/6 "2003-05-21T02:24:41Z")

</div>

Thanks Kax…it works fine…but i wonder if its possible to control the ease parametres of the clips! and the continue movement also, because if you stop moving the muse over the clips they stop moving after a wile!  
but thanks again. it´s really coll effect

---

<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:** [May 21, 2003, 3:21am UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/7 "2003-05-21T03:21:46Z")

</div>

nice code!!🙂

---

<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:** [May 21, 2003, 5:55am UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/8 "2003-05-21T05:55:29Z")

</div>

- ricjg  
i made that .fla because i was bored… and i made it exactly as [toca-me.com](http://toca-me.com) (at least i can’t find any difference between them).  
i’ll make another version tomorrow so the other movieclips will keep moving. 😉

- Barels  
thanks. =)  
and welcome to kirupa forum!! 😉

---

<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:** [May 21, 2003, 9:01am UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/9 "2003-05-21T09:01:39Z")

</div>

you´re rigth, there´s no diference i went tocame to chek it again!..hey man, do you work for the guys ;)!! Really coll. I´m using it im my next site project if you don´t mind of course!

Thanks again Kax, you realy help me out here! :thumb: :thumb: 😉

---

<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:** [May 21, 2003, 9:22am UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/10 "2003-05-21T09:22:02Z")

</div>

no problem. =)

and nope… i don’t mind at all. it’s up to you how to use it. 😉

---

<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:** [May 21, 2003, 3:13pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/11 "2003-05-21T15:13:48Z")

</div>

Kax… and that moving image in Tocame, do you know how those guys did that…did they use a sequence of different images or is just one image with some actions scripts…here’s another cool example using the same effect:

[http://www.iashido.ro/showcase/iashido/1/playground.htm](http://www.iashido.ro/showcase/iashido/1/playground.htm)

---

<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:** [May 21, 2003, 6:20pm UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/12 "2003-05-21T18:20:18Z")

</div>

ask **noxious** … he made a couple of .fla’s.  
but the links have been deleted. :-\

---

<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:** [May 22, 2003, 1:36am UTC](https://forum.kirupa.com/t/random-movement-in-flash-mx/21245/13 "2003-05-22T01:36:59Z")

</div>

ok kax! thanks a lot…i will!! and thanks again for that code for the moving buttons!!🙂
