This is an RPG tutorial - on all the basic stuff. I will definately come up with a more advanced one, but it takes time to come up with the action script.
Keywords: RPG Tutorial, Flash Tutorial
EDIT: Old. Still pretty good, 100% accurate, but old. A newer one should be expected.
i did everything, and it should be right. but when i test movie my sprite just spins around in circles rapidly. i've added stop(); in all the frames, do i add them in the movie clips frames as well?
This is really useful but when I try and apply the actionscript, flash tells me theres something wrong It says something like:
**Error** Symbollayer, layer=Layer 1, frame=1:Line 2: Clip events are permitted only for movie clip instances onClipEvent(enterFrame){if(!Key.isDown(Key.UP)){_root.player.gotoAndStop(1);}}
The error is saying that the AS you put on that frame can only be applied to a MC. You have a MC-directed ActionScript applied to a frame and the program doesn't know what to do with it.
You shold put more pics or examples.^7^"
but when i test movie my sprite just spins around in circles rapidly. i've added stop(); in all the frames, do i add them in the movie clips frames as well?
**Error** Symbol
onClipEvent(enterFrame){if(!Key.isDown(Key.UP)){_root.player.gotoAndStop(1);}}
The error is saying that the AS you put on that frame can only be applied to a MC. You have a MC-directed ActionScript applied to a frame and the program doesn't know what to do with it.