Hi Robert,
The following FAQ entry should answer your question:
http://www.osflash.org/flashcoders/as2#creating_a_class_instance_based_on_movieclip_without_a_symbol_in_the_library
HTH,
Ian
On 3/27/06, Robert Clochard [EMAIL PROTECTED] wrote:
Hello everyone,
I've searched a while for the
how about this one:
function makeClassInstance(mc:Object, _class:Function, args:Array):Void {
//trace(Making Subclass Instance mc +mc+ _class +_class);
mc.__proto__ = _class.prototype;
mc.__constructor__ = _class;
mc.constructor = _class.prototype.constructor;
2 matches
Mail list logo