# Load MC only as rollOver and Follow mouse

**URL:** <https://forum.kirupa.com/t/load-mc-only-as-rollover-and-follow-mouse/61732>\
**Category:** flash\
**Created:** [August 21, 2004, 3:18am UTC](https://forum.kirupa.com/t/load-mc-only-as-rollover-and-follow-mouse/61732 "2004-08-21T03:18:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![silencematters](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@silencematters](https://forum.kirupa.com/u/silencematters)\
**Post date:** [August 21, 2004, 3:18am UTC](https://forum.kirupa.com/t/load-mc-only-as-rollover-and-follow-mouse/61732/1 "2004-08-21T03:18:52Z")

</div>

i am trying to Load a MC only as rollOver and have it Follow the mouse.

I have a million rollovers and a million buttons made on one page.  
and each has a small MC that needs to appear when rolled over.

maybe there is an easier way.

and suggestions?

-me :tb:

---

<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:** [August 21, 2004, 4:01am UTC](https://forum.kirupa.com/t/load-mc-only-as-rollover-and-follow-mouse/61732/2 "2004-08-21T04:01:30Z")

</div>

Yes there is an easier way.  
You don’t have to create too many movieClips for the “rollOver MC”.

1. Create one “rollOver MC”
2. Create a dynamic text field and place it inside the “rollOver MC”.
3. Everytime you rollOver a button, have the button assign a value (a description or watever) to the dynamic text field inside the “rollOver MC”.
4. If you want the MC to follow your mouse, just use the:  
"startDrag(“MC\_name”, lockCenter) accordingly. I’m sure you know how to use startDrag() right?
5. Set the “\_visible” property of the “rollOver MC” to “true” only when you mouse over the button(s). When you rollOut the button, set the “\_visible” property of the “rollOver MC” to false.

You can even make everything more easier if you’re more advanced, by using duplicateMovieClips() for your buttons so that you don’t have to manually create “millions” of them.

Hope this helps in one way or another. 🙂

---

<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:** [August 21, 2004, 4:12am UTC](https://forum.kirupa.com/t/load-mc-only-as-rollover-and-follow-mouse/61732/3 "2004-08-21T04:12:52Z")

</div>

yeh pretty confusing stuff there. rollover on another rollover?

---

<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:** [August 21, 2004, 4:26am UTC](https://forum.kirupa.com/t/load-mc-only-as-rollover-and-follow-mouse/61732/4 "2004-08-21T04:26:18Z")

</div>

rollOver on another rollOver?

hm…i didn’t write that on my previous post?
