Singleton class that stores the global Id for this Player instance that is server assigned when the client makes its initial connection to the server.

Static methods

staticgetInstance():FlexClient

Returns the sole instance of this singleton class, creating it if it does not already exist.

Returns:

Returns the sole instance of this singleton class, creating it if it does not already exist.

Constructor

new()

Constructor.

Variables

@:flash.propertyid:String

The global FlexClient Id for this Player instance. This value is server assigned and is set as part of the Channel connect process. Once set, it will not change for the duration of the Player instance's lifespan. If no Channel has connected to a server this value is null.