2

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

spupek
  • 452
  • 7
  • 12

3 Answers3

3

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

Community
  • 1
  • 1
Tim Keating
  • 6,443
  • 4
  • 47
  • 53
1

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

Francis Potter
  • 1,629
  • 1
  • 17
  • 19
0

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

invisible_hand
  • 845
  • 6
  • 11
  • This is incorrect. It is possible, just a hack: http://stackoverflow.com/questions/1343282/how-can-i-get-an-instances-memory-location-in-actionscript – David Wolever Feb 06 '13 at 21:02