as3-sharedobject-manager

Classe ActionScript 3 responsável por gerenciar dados SharedObject. Como usar: // importsimport SharedObjectManager;// Invoke setup() method just once.SharedObjectManager.setup();// Creating a SharedObject dataSharedObjectManager.setData (“lives”, 3);// Recovering the existing dataSharedObjectManager.getData (“lives”);

Continuar lendo

Solicitação de URL com dados de postagem

var loader: URLLoader = new URLLoader (); var request: URLRequest = new URLRequest (” http://somedomain.com/someurl.php” ); request.method = URLRequestMethod.POST; variáveis ​​var: URLVariables = new URLVariables (); variables.requestParam1 = “valor1”; variables.requestParam2 …

Continuar lendo

Obtenha o ambiente do jogador

// Create an environment object;var environment:Object = new Object();// Get player type// Non-IE: “PlugIn”// IE: “ActiveX”environment.playerType = Capabilities.playerType;// Get’s the current domainvar lc:LocalConnection = new LocalConnection();environment.domain = lc.domain;// Get the …

Continuar lendo