开发者

How to print out an object memory address at runtime? like this.toString() in java [duplicate]

This question already has answers here: How can I get an instance's "memory location" in ActionScript? (6 answers) Closed 开发者_StackOverflow中文版9 years ago.

How to write an AS3 object's memory location for example to a label? I need it for debugging purposed. Thanx


Long answer: you can do it but it's a dirty, dirty hack: How can I get an instance's "memory location" in ActionScript?


NameUtil.createUniqueName() is pretty handy for this type of thing.


Short answer: there is no way to do that. However, you can search something in flash.sampler package.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜