# Preloader that follows the mouse any ideas?

**URL:** <https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968>\
**Category:** Uncategorized\
**Created:** [July 2, 2008, 4:52pm UTC](https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968 "2008-07-02T16:52:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![becks3636](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@becks3636](https://forum.kirupa.com/u/becks3636)\
**Post date:** [July 2, 2008, 4:52pm UTC](https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968/1 "2008-07-02T16:52:22Z")

</div>

Hi I am trying to make an effect like the one here (before the main loading page):

> **[Bad Assembly](https://www.badassembly.com/)**
>
> Bad Assembly is a Los Angeles-based digital agency creating products for the world’s top brands.

where the number change. Ive tried to make one before which uses a dynamic text box and a scroll bar but Im a bit stuck with this one because it follows the mouse and I think it looks great!

Any ideas brainy flash people? =)

Thanks

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 2, 2008, 4:57pm UTC](https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968/2 "2008-07-02T16:57:00Z")

</div>

\_xmouse and \_ymouse are my ideas…check the help files

---

<div class="post-metadata">

**Author:** ![becks3636](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@becks3636](https://forum.kirupa.com/u/becks3636)\
**Post date:** [July 2, 2008, 5:01pm UTC](https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968/3 "2008-07-02T17:01:20Z")

</div>

> [@glosrfc;2352524](#):
>
> \_xmouse and \_ymouse are my ideas…check the help files

Hi, which help files do you mean please? Do you mean to make a normal flash preloader movie but to apply some code?

Thanks

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 2, 2008, 5:14pm UTC](https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968/4 "2008-07-02T17:14:01Z")

</div>

There’s a tutorial here [http://www.kirupa.com/developer/flash5/follow.htm](http://www.kirupa.com/developer/flash5/follow.htm) which uses startDrag to accomplish the effect.  
Alternatively, you can capture the \_xmouse and \_ymouse and apply some easing code to achieve the effect you’re after as per this example [http://www.kirupa.com/developer/mx/followease.htm](http://www.kirupa.com/developer/mx/followease.htm)

In both cases you will need to put your preloader into its own movieclip.

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 2, 2008, 5:22pm UTC](https://forum.kirupa.com/t/preloader-that-follows-the-mouse-any-ideas/264968/5 "2008-07-02T17:22:33Z")

</div>

Additional examples:  
[http://www.bezzmedia.com/swfspot/samples/flash8/Mouse\_Following\_Preloader](http://www.bezzmedia.com/swfspot/samples/flash8/Mouse_Following_Preloader)  
[http://www.lukamaras.com/tutorials/preloaders/mouse-cursor-preloader.html](http://www.lukamaras.com/tutorials/preloaders/mouse-cursor-preloader.html)

Doesn’t CS3 open up a help file when you press F1, or click Help, Flash Help?
