On AS2, it's easy:
trace("creating mc0");
this.attachMovie("libraryItemLinkage", "mc0", 0);
MovieClipPlus = function (){
trace("hello world.");
};
MovieClipPlus.prototype = new MovieClip();
Object.registerClass("libraryItemLinkage", MovieClipPlus);
trace("creating mc1");
this.attachMovie("libraryItemLinkage", "mc1", 1);
For AS3, it's not as simple as that. In fact, it's so complex (and slow), that it's easier to think of another way to accomplish what you are trying.
But if you still got the time and energy, take a look at the flash.utils.Proxy class, that will give you some new ideas.
Also, check these:
An introduction to proxies:
http://ltslashgt.com/2008/01/24/proxy-class-as3/
Dynamic proxy creation, with AS3 commons bytecode:
http://www.as3commons.org/as3-commons-bytecode/proxy.html