# Tooltip follow slowly

**URL:** <https://forum.kirupa.com/t/tooltip-follow-slowly/201455>\
**Category:** flash\
**Created:** [September 21, 2006, 2:03pm UTC](https://forum.kirupa.com/t/tooltip-follow-slowly/201455 "2006-09-21T14:03:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asthyanax](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Post date:** [September 21, 2006, 2:03pm UTC](https://forum.kirupa.com/t/tooltip-follow-slowly/201455/1 "2006-09-21T14:03:17Z")

</div>

Hi everyone,

I have a little question. I try to adapt something i had scripted on AS1 on AS2. Here’s the code of my old stuff :

```php

onClipEvent (enterFrame) {
onClipEvent (enterFrame) {
    if (this._visible) {
        xTarget = _parent._xmouse;
        yTarget = _parent._ymouse-10;
        fraction = 1.000000E-001;
        setProperty("", _y, _y+(yTarget-_y)*fraction);
        setProperty("", _x, _x+(xTarget-_x)*fraction);
    }
}

```

I’m not very very used to AS2 but i could create a tooltip. It works perfectly but now i don’t know exactly how to make this tooltip follow my mouse like this code i had with a setProperty. Thank’s for your help.  
For those who don’t want to copy/paste this code, here’s a sample fla.  
Chris
