# "Access of undefined property..." error =\> But I named the instance name correctly

**URL:** https://forum.kirupa.com/t/access-of-undefined-property-error-but-i-named-the-instance-name-correctly/324893
**Category:** Uncategorized
**Created:** [September 14, 2011, 10:07am UTC](https://forum.kirupa.com/t/access-of-undefined-property-error-but-i-named-the-instance-name-correctly/324893 "2011-09-14T10:07:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jhawks](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jhawks](https://forum.kirupa.com/u/jhawks)
#### Post date: [September 14, 2011, 10:07am UTC](https://forum.kirupa.com/t/access-of-undefined-property-error-but-i-named-the-instance-name-correctly/324893/1 "2011-09-14T10:07:35Z")

</div>

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/](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](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?
