I have a function which moves MC's and this works great.
script:
function moveMe(targMove, xMove, yMove, speedMove, andThen1) {
targMove.onEnterFrame = function() {
var goChoice = andThen;
var dxMove = xMove-targMove._x;
vxMove = (vxMove+dxMove)/speedMove;
targMove._x += vxMove;
if (Math.round(dxMove) == 0 && Math.round(vxMove) == 0) {
var dyMove = yMove-targMove._y;
vyMove = (vyMove+dyMove)/speedMove;
targMove._y += vyMove;
if (Math.round(dyMove) == 0 && Math.round(vyMove) == 0) {
goChoice.play();
delete targMove.onEnterFrame;
}
}
};
}
does anyone know how I could adapt this so rather than moving straight, vertically or horizontally, it could fly in with a bend...as if the mc was on a circular motion guide.
I dont understand what you mean by usage but basically the function moves an mc from its current _x coords to the new specified _x coords and then does exactly the same with the _y coords. so basically it moves the mc across horizontally and the vertically which is very straight and precise.
What I want to be able to do is move the mc across the stage but rather than it moving straight i would like it to say bend...so as it moves across it also gradually descends and then at its mid-point _x it then ascends (excuse spelling) back to its original _y...as if its moving in a circular movement.
Hi Jason
I've sent the letter to you 3 times, beggining from 22.03.2005 3:19
I've got no responce from you so I don't know if you got it.
So I attach the last variant right here.