Foros del Web » Creando para Internet » Flash y Actionscript »

[SOLUCIONADO] Error cargar asp

Estas en el tema de Error cargar asp en el foro de Flash y Actionscript en Foros del Web. Quiero insertar datos de flash a mysql pasando por asp, pero me sale este error : Error al abrir la URL 'http://localhost/cone/ins.asp' Error #2044: ioError ...
  #1 (permalink)  
Antiguo 12/06/2014, 12:50
 
Fecha de Ingreso: mayo-2014
Ubicación: Mexico
Mensajes: 79
Antigüedad: 10 años
Puntos: 2
Error cargar asp

Quiero insertar datos de flash a mysql pasando por asp, pero me sale este error :

Error al abrir la URL 'http://localhost/cone/ins.asp'
Error #2044: ioError no controlado: text=Error #2032: Error de secuencia. URL: http://localhost/cone/ins.asp

Ya comprobe la direcion y esta bien. He buscado otros codigos en interntet, que varia un poco, pero siempre me sale el mismo error .

Les dejo el codigo:

Código Actionscript 3:
Ver original
  1. import fl.data.DataProvider;
  2. import flash.net.navigateToURL;
  3. import flash.events.Event;
  4. import flash.display.Sprite;
  5. import flash.net.URLRequest;
  6. import flash.net.URLVariables;
  7. import flash.net.sendToURL;
  8. //Almaceno la url que vamos a cargar para enviar el email
  9. var url:String = "http://localhost/cone/ins.asp";
  10. function Enviar(){ 
  11.         var recibir:URLLoader = new URLLoader();
  12.         var enviar:URLRequest = new URLRequest();
  13.         var variables:URLVariables = new URLVariables();
  14.         variables.nombre = "korn";
  15.         enviar.url = "http://localhost/cone/ins.asp";
  16.         enviar.method = URLRequestMethod.POST;
  17.         enviar.data = variables;
  18.         recibir.dataFormat = URLLoaderDataFormat.VARIABLES;
  19.         recibir.addEventListener(Event.COMPLETE,Respuesta);
  20.         recibir.addEventListener(IOErrorEvent.IO_ERROR,HayError);
  21.         recibir.load(enviar);
  22. }
  23. function Respuesta(event:Event){
  24.     trace(event.target.data.resultado);
  25. }
  26. function HayError(event:IOErrorEvent):void {
  27.     trace("Error al enviar el correo");
  28. }
  29. Enviar();

Etiquetas: as, asp, flash, mysql
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:09.