# Text to change as rollover certain areas

**URL:** <https://forum.kirupa.com/t/text-to-change-as-rollover-certain-areas/161111>\
**Category:** Uncategorized\
**Created:** [August 31, 2005, 11:25pm UTC](https://forum.kirupa.com/t/text-to-change-as-rollover-certain-areas/161111 "2005-08-31T23:25:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Furpants](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@Furpants](https://forum.kirupa.com/u/Furpants)\
**Post date:** [August 31, 2005, 11:25pm UTC](https://forum.kirupa.com/t/text-to-change-as-rollover-certain-areas/161111/1 "2005-08-31T23:25:20Z")

</div>

Hello!

I have a movie clip that scrolls back and forth upon rollover. It is constricted to a certain area and the AS that I am using is the following:

* * *

// Starts the dragging  
\_root.mc1.onRollOver = function() {  
\_root.mc1.startDrag(false, 40, 149, 660, 149)  
}

// Stops the dragging  
\_root.mc1.onRollOut=function(){  
this.stopDrag();  
}

* * *

What I would like to do is have the message inside this movie clip change as it rolls over certain areas. How can I accomplish this? Do you know of any tutorials that can show me how to do this? An excellent example can be found at [www.andytitus.com](http://www.andytitus.com).

I attached my fla so you can see how it works so far.

Any suggestions whatsoever would be awesome!
