Lost at the prototype line, but I got the apply part. The method also returns an Object, which makes me realize something: which one should I even be using to refer to an instance, the stage name or the class instance name? I couldn't even figure how to use the method. Where is the instance name? Where is the MC's stage name? Which should I be using? It returns an object, but how do I access the Box' methods? I tried something like this, but returns undefined:
var obj:Object = force (attach ('mcBox'), Box, [200, 200]);
trace(obj.getWidth());
The force() method kinda feels more like a workaround; is there a proper way I should be doing it? All this time I treated my movieclips as classes, and the attached MCs as its instances, but something's telling me that's actually a bad way of doing things.