PlayerIO

The fastest way to build online games without breaking a sweat.

ActionScript3 Reference

actionscript 3 Client class informationClass Client

Namespace: playerio
Language: ActionScript 3

An instance of this class is returned to the callback function when successfully connecting to the PlayerIO webservice. Contains references to all APIs currently exposed by the PlayerIO ActionScript API

Properties

 
public
achievements :playerio:Achievements [read-only]

public
bigDB :playerio:BigDB [read-only]

Property used to access the BigDB service.

public
channel :playerio.utils:HTTPChannel [read-only]

public
connectUserId :String [read-only]

User id of the currently connected user

public
errorLog :playerio:ErrorLog [read-only]

Property used to access the Error log

public
gameFS :playerio:GameFS [read-only]

Property used to access the GameFS service.

public
gameId :String [read-only]

public
gameRequests :playerio:GameRequests [read-only]

Property used to access the GameRequests service

public
multiplayer :playerio:Multiplayer [read-only]

Property used for Multiplayer games

public
notifications :playerio:Notifications [read-only]

Property used to access Notification service

public
oneScore :playerio:OneScore [read-only]

Property used to access the OneScore service

public
payVault :playerio:PayVault [read-only]

Property used to access the PayVault service.

public
playerInsight :playerio:PlayerInsight [read-only]

public
publishingnetwork :playerio:PublishingNetwork [read-only]

Property used to access the Publishing Network

public
showBranding :Boolean [read-only]

public
stage :flash.display:Stage [read-only]

Reference to the stage the Client is connected to

Methods

 
public
handleCallbackError (what:String, e:Error):void

public
handleCallbackErrorVerbose (message:String, e:Error):void

public
handleSystemError (message:String, e:Error, extra:Object):void

public
toString ():String

Client.achievements

public
achievements :playerio:Achievements [read-only]

Client.bigDB

public
bigDB :playerio:BigDB [read-only]

Property used to access the BigDB service.

Example

Example of how to request the file game.swf from your games GameFS via client

Client.channel

public
channel :playerio.utils:HTTPChannel [read-only]

Client.connectUserId

public
connectUserId :String [read-only]

User id of the currently connected user

Client.errorLog

public
errorLog :playerio:ErrorLog [read-only]

Property used to access the Error log

Client.gameFS

public
gameFS :playerio:GameFS [read-only]

Property used to access the GameFS service.

Client.gameId

public
gameId :String [read-only]

Client.gameRequests

public
gameRequests :playerio:GameRequests [read-only]

Property used to access the GameRequests service

Client.multiplayer

public
multiplayer :playerio:Multiplayer [read-only]

Property used for Multiplayer games

Client.notifications

public
notifications :playerio:Notifications [read-only]

Property used to access Notification service

Client.oneScore

public
oneScore :playerio:OneScore [read-only]

Property used to access the OneScore service

Client.payVault

public
payVault :playerio:PayVault [read-only]

Property used to access the PayVault service.

Client.playerInsight

public
playerInsight :playerio:PlayerInsight [read-only]

Client.publishingnetwork

public
publishingnetwork :playerio:PublishingNetwork [read-only]

Property used to access the Publishing Network

Client.showBranding

public
showBranding :Boolean [read-only]

Client.stage

public
stage :flash.display:Stage [read-only]

Reference to the stage the Client is connected to

Client.handleCallbackError

public
handleCallbackError (what:String, e:Error):void

Arguments

what:String
e:Error

Client.handleCallbackErrorVerbose

public
handleCallbackErrorVerbose (message:String, e:Error):void

Arguments

message:String
e:Error

Client.handleSystemError

public
handleSystemError (message:String, e:Error, extra:Object):void

Arguments

message:String
e:Error
extra:Object

Client.toString

public
toString ():String