//---------------------------------
package {
public dynamic class CTest {
public const Name = "CTest";
}
}
//---------------------------------
CTest.prototype.A = 123;
CTest.prototype.B = function () { trace("CTest B"); };
//function myFunc() { trace("myFunc"); }
//CTest.prototype = myFunc;
var obj:CTest = new CTest();
trace(obj.Name); //CTest
trace(obj.A); //123
obj.B(); //CTest B
//obj.C(); //