Hi all,
I’m trying to work on my first flash game but I’m already having problems making my character move.
I’m currently following this tutorial:
http://www.flashgametuts.com/tutorials/advanced/how-to-create-a-platform-game-in-as3-part-1/
However, when I try to test my game, I get an error saying:
“Access of undefined property player_mc”
In the scene, I have a square MovieClip called “player” and when you select it, in its properties I have given it the instance name “player_mc”.
However I still get the error. So I decided to change the object’s name to “player_mc” as well but that still gives me the error. I don’t understand why this isn’t working.
I’ve goggled and found this:
http://www.as3errors.com/1120-access-of-undefined-property
According to this, it’s just to do with spell-checking… but yeah, I looked through my code and the objects and it’s all “player_mc”.
Can someone help me?