moving with the animations...again
ok im trying to make this link guy move w/ the animations i have when u press the right arrow key.let me show you how im trying to go about this:
(on an MC called "link")
on frame1 link is facing down(image)
on frame2 link is facing right(image)
on frame3 link is facing left(image)
on frame4 link is facing up(image)
on frame5 link is running down(an MC)
on frame6 link is running right(an MC)
on frame7 link is running left(an MC)
on frame8 link is running up(an MC)
all of the frame have "stop();" on them
i tried to do the keypress for going left like this:
Code:
onClipEvent(keyDown) {
if (Key.getCode() == 37) {
gotoAndStop(7);
_x=_x-3;
}
}
but that is obviously the wrong way to do it, how do you suggest i do it with the MC "link" set up like that?
i dont think i need to attach the .fla bc ive explained everything there. thank you in advance.
btw ive already checked out marmotte's rockypack .fla and ive decided its too difficult for me.
:)