# Startdrag problems

**URL:** https://forum.kirupa.com/t/startdrag-problems/302952
**Category:** Uncategorized
**Created:** [January 11, 2010, 5:57am UTC](https://forum.kirupa.com/t/startdrag-problems/302952 "2010-01-11T05:57:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![almondo](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@almondo](https://forum.kirupa.com/u/almondo)
#### Post date: [January 11, 2010, 5:57am UTC](https://forum.kirupa.com/t/startdrag-problems/302952/1 "2010-01-11T05:57:31Z")

</div>

Hey…  
I’m trying to add a tooltip of sorts to a mc. the mc has the buttonMode set to true and when i ROLL\_OVER it i want it to display another movie clip as a tooltip…  
I’ve worked out how to do this with startDrag. The problem is that unless i remove the event listener for ROLL\_OVER the mouse flickers and won’t work properly. I fixed this by removing the event listener in the same function, which works great. The problem is that i have to add and event listener for ROLL\_OUT, but the flickering starts again when its added… can anyone help??  
here’s the code i have so far:

```auto

clapperHit_mc.addEventListener(MouseEvent.ROLL_OVER, videoCursor);
clapperHit_mc.buttonMode = true;

function videoCursor(event:MouseEvent):void
{
    videoCursor_mc.startDrag(true);
    videoCursor_mc.visible = true;
    videoCursor_mc.gotoAndPlay(1);
    clapperHit_mc.removeEventListener(MouseEvent.ROLL_OVER, videoCursor);
    clapperHit_mc.addEventListener(MouseEvent.ROLL_OUT, videoCursorOut);
}
function videoCursorOut(event:MouseEvent):void
{
    videoCursor_mc.stopDrag();
    videoCursor_mc.visible = false;
    videoCursor_mc.gotoAndStop(1);
    clapperHit_mc.addEventListener(MouseEvent.ROLL_OVER, videoCursor);
    clapperHit_mc.removeEventListener(MouseEvent.ROLL_OUT, videoCursorOut);
}

```
