AS3:利用转换类型报错得到内存地址

var memoryHash:String;
try
{
   
FakeClass(anyObjectToKnowItAllocationHash);
}
catch(e:Error)
{
    memoryHash
=String(e).replace(/.*([@|\$].*?) to .*$/gi,'$1');
}

internal final
classFakeClass{}
posted @ 2012-09-26 15:36  zihol  阅读(232)  评论(0编辑  收藏  举报