or make _root move...
so if something is moving just make _root follow it...let me explain:
Let's say you have a code that looks like this:
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_x += speed;
}
}
you would just have to add:
_root._x -= speed;
So the code would be:
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x += speed;
_root._x -= speed;
}
}
I hope I helped you.