A X axes slider in a loaded movie

Hi n0,
You have to make your code _root independent. Because the _root of the loaded movie is no longer the _root when you load it. I don’t know if this is clear…

Basically, you have to remove all the references to the _root in your code. You can use _parent instead, or nothing, when it is not necessary.

And drop the Flash 4 syntax:

// this sucks
setProperty (_root.follow, _x, mouse_x+((getProperty(_root.follow, _x)-mouse_x)/1.15));

// that's the way I like it
_root.follow._x=mouse_x+(_root.follow._x-mouse_x)/1.15;

pom :asian: