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 :
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