PlayerIO

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

ActionScript3 Reference

actionscript 3 PublishingNetworkPayments class informationClass PublishingNetworkPayments

Namespace: playerio
Language: ActionScript 3

The Publishing Network payments service

Example

Here's an example of buying coins through the Publishing Network:

Example

Here's an example of buying items through the Publishing Network:

Methods

 
public
showBuyCoinsDialog (cointamount:int, purchaseArguments:Object, callback:Function, errorCallback:Function):void

Shows a dialog for buying coins.

public
showBuyItemsDialog (items:Array, purchaseArguments:Object, callback:Function, errorCallback:Function):void

Shows a dialog for buying items.

PublishingNetworkPayments.showBuyCoinsDialog

public
showBuyCoinsDialog (cointamount:int, purchaseArguments:Object, callback:Function, errorCallback:Function):void

Shows a dialog for buying coins.

Arguments

cointamount:int
purchaseArguments:Object
callback:Function
errorCallback:Function

PublishingNetworkPayments.showBuyItemsDialog

public
showBuyItemsDialog (items:Array, purchaseArguments:Object, callback:Function, errorCallback:Function):void

Shows a dialog for buying items.

Arguments

items:Array
purchaseArguments:Object
callback:Function
errorCallback:Function