Here's the file:
mariogameattemptCS3.fla - 0.72MBI just started using Flash about a week or two ago, and I'm trying to put together a really easy Mario game for practice. I looked at x2i's tutorials for movement, and kind of spliced some of his code with another code I found on a youtube video(for jumping, since Dan's code didn't work for me there.) Right now, I'm stuck on how to get Mario to play the jumping animation from when he's jumping while standing, and jumping while running. I need some help, here's the code I put on Mario's MC:
And here's the code I put on the first frame of the whole scene(I would like to erase it, since it makes the game seem messy. But when I do try erasing it, in spite of putting the same code on Mario's MC, keypresses register and make the animation play, but won't move him left, right, or up anymore):
The answer's probably really simple, but I'll learn from it no doubt. Thanks in advance!