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.