title: Injecting code and spawning MCs in actionscript 3
body: <p>i'm porting my game from as2 to as3 and i'm stuck trying to figure how to make the enemies work,so on as2 i had enemies as MCs and i had code on then,but now that i'm coding on the main frame time line i don't know how to make many enemies spawn each using the same code.
  I tried looking into classes,but still could not make it work.So my question is: how do i spawn many MCs and inject code on them on as3?</p>
  
  <p>help will be much apreciated i'm trying all day long to make it work.</p>