#initclip function Test() { } Test.prototype = new MovieClip(); Object.registerClass("libTest",Test); Test.prototype.a = 10; #endinitclip trace(a);