# How to make rollovers with text parts NOT clickable

**URL:** <https://forum.kirupa.com/t/how-to-make-rollovers-with-text-parts-not-clickable/277326>\
**Category:** Uncategorized\
**Created:** [December 10, 2008, 9:09pm UTC](https://forum.kirupa.com/t/how-to-make-rollovers-with-text-parts-not-clickable/277326 "2008-12-10T21:09:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![therealvibe](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@therealvibe](https://forum.kirupa.com/u/therealvibe)\
**Post date:** [December 10, 2008, 9:09pm UTC](https://forum.kirupa.com/t/how-to-make-rollovers-with-text-parts-not-clickable/277326/1 "2008-12-10T21:09:55Z")

</div>

Hi All,

I have a flash map made with simple AS2 to display locations names.

See it here:  
[http://www.shoprenaissancearuba.com/mall/index.php?option=com\_content&view=article&id=4&Itemid=8](http://www.shoprenaissancearuba.com/mall/index.php?option=com_content&view=article&id=4&Itemid=8)

If you pay attention at for instance location 14 you will see that the text is also clickable, with is certain situations is annoying. Each of these properties is a movie clip with one layer for the location and an other for the dynamic text.

This is the AS2 code for one of the rollovers:

stop(); // stop the movie clip from playing (stop button from growing, we want that when the mouse rolls over only  
this.onEnterFrame = function(){  
if(rewind == true){ //if rewind switch is set to true play backwards  
prevFrame(); // play backwards  
}  
}  
this.onRollOver = function(){  
rewind = false; //set variable (or switch) that decides wether ot not to play backwards…  
play(); // play this movie clip… (grow the button(tween));  
}  
this.onRollOut = function(){  
rewind = true; //set or rewind switch to true so it will play backwards…  
}  
this.onRelease = function(){  
getURL(“index.php?option=com\_content&view=article&id=63&catid=11&Itemid=21”);  
}

Does anybody know how I can make only the text not clickable?

Here is the FLA source:

[http://www.orbitalnets.com/test/map\_mall\_AS2\_final.fla](http://www.orbitalnets.com/test/map_mall_AS2_final.fla)

Let me know.

D
