Options
Menu

Class IDUtil

Hierarchy

  • IDUtil

Index

Methods

Methods

Static createUID

  • createUID(): string
  • Generates a UID (unique identifier) based on ActionScript's pseudo-random number generator and the current time.

    The UID has the form "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" where X is a hexadecimal digit (0-9, A-F).

    This UID will not be truly globally unique; but it is the best we can do without player support for UID generation.

    @return The newly-generated UID.

    @langversion 3.0 @playerversion Flash 9 @playerversion AIR 1.1 @productversion Flex 3

    Returns string

Generated using TypeDoc