# Moveiclip confusion

**URL:** <https://forum.kirupa.com/t/moveiclip-confusion/237580>\
**Category:** Uncategorized\
**Created:** [August 31, 2007, 5:00pm UTC](https://forum.kirupa.com/t/moveiclip-confusion/237580 "2007-08-31T17:00:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hakukaji](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@hakukaji](https://forum.kirupa.com/u/hakukaji)\
**Post date:** [August 31, 2007, 5:00pm UTC](https://forum.kirupa.com/t/moveiclip-confusion/237580/1 "2007-08-31T17:00:57Z")

</div>

ok im walking into cs3 and as3 fresh, as in i really don’t have any as2 exp. I am however a very seasoned programmer and use OOP techiniques daily. I just think i need a little clarification, that I can’t seem to locate any where.

Here’s what I currently have and what i want to do.  
I have a small png file that i put in the library, used linkage to give it a class name and then export for ActionScript.

I then created a class called Player that extends MovieClip and I create an instance of my new library created class in there and use addChild

then in my “main” fla I create a new instance of player and use stage.addChild(player) and it i can see my mc.

Is this the correct way of doing it, or am i adding steps.

Ok, so now i wanted to make this icon move around using the arrow keys, if I use the addEventListener in the Player constructor to point to a class method, it does not work. It seems I have to put the addEventListener with the stage.

So im sure that was painful for some to read, but I would appreciate any feedback.

Thanks, and senocular , WOW! impressive show of support for this community.
