object-reference as string?

后端 未结 3 1722
日久生厌
日久生厌 2021-01-14 01:39

In java, you can get a unique string for an object.

How can you do this in as3?

3条回答
  •  旧时难觅i
    2021-01-14 02:19

    You can try using a third party hashing function (such as md5 or sha1). The hashcode for objects in Java (incidentally C#) is generated by a hashing function as well. Here's one I found on Google

    Hope this helps.

提交回复
热议问题