Código :
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/geonimales.com/httpdocs/flashservices/gateway.php:9) in /home/httpd/vhosts/geonimales.com/httpdocs/flashservices/exception/Exceptions.php on line 53 /1/onStatusnullÿÿÿÿcode@p description+no class named Hola is known to the gatewaydetailsJ/home/httpd/vhosts/geonimales.com/httpdocs/flashservices/app/Executive.phplevel User Errorline@k
y puse este codigo:
Código :
<?
include("./app/Gateway.php");
$gateway = new Gateway();
$gateway->setBaseClassPath(realpath("services/") . "/");
$gateway->service();
?>lo puse en la carpeta flashservices en mi server junto al servicio "Hola" q construi, aparte la peli de falsh no hace nada de nada, este es el codigo as:
Código :
#include "NetServices.as"
#include "NetDebug.as"
var resp:Object = new Object();
resp.enviar_Result = function(data){
trace("El Server responde: " + data);
};
resp.onStatus = function(data){
trace("Errr: " + data);
};
NetServices.setDefaultGatewayUrl("http://www.geonimales.com/flashservices/gateway.php");
cnx = NetServices.createGatewayConnection();
serv = cnx.getService("Hola",resp);
serv.Enviar("Probando"); 