2 quick questions to begin oding with AS3 correctly


I’m trying to work on a project made in AS2, and think the whole thing in AS3 to learn.

My two questions are :

  1. is it still possible to work with movieclip instance name in a class.as file because i’m always getting a 1120 error (i’m trying to access an undefined property)

  2. if not possible, then I’ll have to create movieclip dynamically and add them with the addChild syntax, my question is : per example, when I want a movieclip to be always centered on stage even if the browser’s window is resized, what am I supposed to do with listeners and so on so that a new copy of my movieclip is not always added at a different place on the stage ?

Many thanks and sorry if these questions sound stupid to you.