Oye man pues ya che que lo del debugger y esto es lo que me arroja
event
Connect-
http://localhost/flashservices/gateway.phpsummary
ConnectString: "http://localhost/flashservices/gateway.php"
Details
ConnectString: "http://localhost/flashservices/gateway.php"
Debuggld: "0"
EventType: "Connect"
MovieURL: "file://c:\apache\htdocs\hola mundo.swf"
Protocol: "http"
Source: "Client"
Time: 1119884906203
Date (object #1)
"Mon Jun 27 11:41:04 GMT-0500 2005"
event
call- holaMundo.eviar(Probando);
summary
MethodName: "holaMundo.enviar"
Parameters (object #2)
.....[0]: "Probando"
Details
DebugId: "0"
EventType: "Call"
MethodName: "holaMundo.enviar"
MovieUrl: "file://C:\apache\htdocs\hola mundo.swf"
Protocol: "http"
Source: "Client"
Time: 1119890464671
Date (object #1)
....."Mon Jun 27 11:41:04 GMT-0500 2005"
Parameters (object #2)
.....[0]: "Probando"
event
Result- Hola Mundo. Tu usuario me enviaste: Probando
summary
Result: "Hola Mundo.
Tu usuario me enviaste: Probando"
Details
DebugId: "0"
EventType: "Result"
MovieUrl: "file://C:\apache\htdocs\hola mundo.swf"
Protocol: "http"
Result: "Hola Mundo.
Tu usuario me enviaste: Probando"
Source: "Client"
Time: 1119890465078
Date (object #1)
....."Mon Jun 27 11:41:05 GMT-0500 2005"
Mi codigo es
import mx.remoting.NetServices;
import mx.remoting.Connection;
mx.remoting.debug.NetDebug.initialize();
capturaRespuesta = new Object();
capturaRespuesta.enviar_Result = function( data ){
trace("Dato recibido del servidor: " + data );
}
capturaRespuesta.onStatus = function ( data ) {
trace("Ocurrio un error.")
trace("Detalles del error: " + data.description)
}
NetServices.setDefaultGatewayUrl('http://localhost/flashservices/gateway.php');
conn = NetServices.createGatewayConnection();
serv = conn.getService("holaMundo", capturaRespuesta);
serv.enviar("Probando");
y pues sigue sin mostrarme nada cuando hago la prueba.
Disculpa la molestia y espero me puedas ayudar.