# Scripting a random background... how?

**URL:** <https://forum.kirupa.com/t/scripting-a-random-background-how/9623>\
**Category:** flash\
**Created:** [December 15, 2002, 1:58pm UTC](https://forum.kirupa.com/t/scripting-a-random-background-how/9623 "2002-12-15T13:58:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![999chris](https://avatars.discourse-cdn.com/v4/letter/9/f17d59/32.png) [@999chris](https://forum.kirupa.com/u/999chris)\
**Post date:** [December 15, 2002, 1:58pm UTC](https://forum.kirupa.com/t/scripting-a-random-background-how/9623/1 "2002-12-15T13:58:25Z")

</div>

Ok,… another something I want to work out. If you scroll to the bottom of this page (I mean the very bottom… all the way down) You will see a little “[kirupa.com](http://kirupa.com)” button with loads of little circles that look like they are blowing in the wind…

Its obvious this is tweening through a guide thats repeated… but I want a similar effect. With about 10 circles… I want them to vary in size and “\_alpha” on every pass and every time take a diffrent course from left to right… if it is even possible have them follow the mouse aswell.

Thanks again

Merry Christmas \<:}

Chris

---

<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:** [December 16, 2002, 3:20am UTC](https://forum.kirupa.com/t/scripting-a-random-background-how/9623/2 "2002-12-16T03:20:47Z")

</div>

I believe the button you’re referring to was done with actionscript and if you want to achieve that effect then you’re in luck cause theres a tutorial on this site for it. Here’s the link.

[http://www.kirupa.com/developer/mx/continuousmovement.asp](http://www.kirupa.com/developer/mx/continuousmovement.asp)
