Comunidad de diseño web y desarrollo en internet online

Error 1088 al abrir un XML

Citar            
MensajeEscrito el 08 Jul 2009 06:09 pm
Utilizo este codigo para tomar el xml que necesito

Código ActionScript :

                        //Error
         var miError:TextField = new TextField();
         miError.x = 0;
         miError.y = 0;
         addChild(miError);

         //Lectura XML
         XML.ignoreWhitespace = true;
         var loader:URLLoader = new URLLoader();
         loader.addEventListener(Event.COMPLETE, loadXML);
         loader.load(new URLRequest("\playlist.xml")); 

         function loadXML(e:Event):void {
            try {
               miError.text = e.target.data;
               var xmlPlay:XML = new XML(e.target.data);
               for (var i:Number =0; i < xmlPlay.music.length(); i++) {
               var miPlaylist_Lista:Playlist_Lista = new Playlist_Lista();
               miPlaylist_Lista.x = 22;
               miPlaylist_Lista.y = i * 21 + 74;
               miPlaylist_Lista.Nombre_txt.text = xmlPlay.music.nombre[i]
               miPlayList.addChild(miPlaylist_Lista);
               }
            } catch (e:Error) {
               miError.text =  e.message;
               return;
            }
         }


el problema es que en mi computador funciona a la perfección, pero cuando lo subí a un host gratuito de ASP
el flash no funciona y da el error 1088 y solo dice eso ... alguna sugerencia ... el código esta en un archivo ".as"
todos los "import" están ... como dije antes en mi computador funciona ... y en el server gratuito no! ...

ayuda por favor!! de antemano muchas gracias...

Por geokym

4 de clabLevel



 

firefox
Citar            
MensajeEscrito el 08 Jul 2009 06:54 pm
ES LA RUTA
O PROGBLEMAS DE SEGURIDAD

Por xcom

Claber

530 de clabLevel



 

firefox
Citar            
MensajeEscrito el 09 Jul 2009 03:26 am
Si creo que tiene q ver con el problema de conexion me cambie a otro host y no tube problemas muchas gracias por tu tiempo ... adios!

Por geokym

4 de clabLevel



 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.