Hey. I am new to Actionscript 3.
I want to know the basics of actionscript 3 programming using classes.
I'd appriciate very much if you answer me. Thnx
1. When I link a class to movieClip, does the code inside that class work only when movieclip is
on the stage?
2. Where is _root? If I want to change values of the root timeline's variable, how to do that?
(I mean, I want to do that by putting code in a class, not on the root timeline)
3. I know that a class can be linked to only one movieClip. What do I do when I want multiple movie-
clips to be linked to a same class?
(For instance, I want to make two different enemies who act as same as each other
because their class is same)
I am not a native speaker, so I may have some grammar mistakes.
I'm sorry if I make you hard to read, but please tell me.