# Hover Trouble

**URL:** <https://forum.kirupa.com/t/hover-trouble/41197>\
**Category:** flash\
**Created:** [January 26, 2004, 5:49pm UTC](https://forum.kirupa.com/t/hover-trouble/41197 "2004-01-26T17:49:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barge](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@barge](https://forum.kirupa.com/u/barge)\
**Post date:** [January 26, 2004, 5:49pm UTC](https://forum.kirupa.com/t/hover-trouble/41197/1 "2004-01-26T17:49:39Z")

</div>

I don’t think I am using levels right.

I have a button with this script:

[AS]on (rollOver) {  
\_level1\_root.drgmenu.t = 1;  
startDrag(\_level1\_root.drgmenu.handb, true);  
Mouse.hide()  
}  
on (rollOut) {  
\_level1\_root.drgmenu.t = 0;  
startDrag(\_level1\_root.drgmenu.handb, false);  
Mouse.show()  
}  
on (press) {  
startDrag(\_level1\_root.drgmenu);  
}  
on (release) {  
stopDrag();  
startDrag(\_level1\_root.drgmenu.handb, true);  
}[/AS]

and a movieclip that is getting followed when hovered:

[AS]onClipEvent (enterFrame) {  
if (\_level1\_root.drgmenu.t==1) {  
\_level1\_root.drgmenu.handb.\_alpha = 90;  
} else {  
\_level1\_root.drgmenu.handb.\_alpha = 0;  
}  
}[/AS]

It works when I use it once, but when I have similar movieClip with this in it, it freaks up. I tryed levels, but can’t get it right. It works if I use it only once in the movie.
