I seem to be doing something wrong. I only wan’t to attach the classes after certain triggers during runtime.
newDepth = 20405;
import enemyPlane;
Object.registerClass(ePlane, enemyPlane);
_root.enemy7.attachMovie(ePlane, enemy7, 20548);
I’m trying to attach the class enemyPlane to the instance enemy7… Argh! :{
Omg… This sounds bad…
In Flash MX, Object.registerClass() is used to associate a symbol in the library to a class. This new method affects all instances of the associated symbol; unlike VMC, which affects per movieclip instance.
Damit… I guess what I’m trying to do won’t work…