在Java中,你可以得到一个unique字符串一个对象。
In java, you can get a unique string for an object.
你怎么能做到这一点在AS3?
How can you do this in as3?
在同一个徒劳的Java线程上的反应,将是一个独特的ID生成的Flex SDK的一部分。这是mx.utils.UIDUtil下找到,它的工作原理相当简单。
in the same vain as the responses on the java thread, the is a unique ID generator as part of the flex SDK. This is found under mx.utils.UIDUtil, it works fairly simply.
var ID:String = UIDUtil.createUID();
希望这有助于。
Hope this helps.