Hello people, I read a tutorial here ages back (I can’t find it now) Anyway, it was about something different but I got this code from it and it works only when the SWF is exported in Flash 5 version.
onClipEvent (enterFrame) {
new_dest = _xmouse+_x;
pos = _x;
vel = ((dest-.1*pos)/9+vel*0.9);
_x += vel;
dest = new_dest-_x;
}
Where does the compatibilty problem lay? and How can we make it work on Flash MX or MX 2004?
Thanks in advance.