Ciao!Ho trovato un'applicazione in rete che manda dell'xml a uno script aspx per far si che tale script crei su disco un file per memorizzare l'xml.....l'ho provato, ma non funziona;però non riesco a capire se l'errore sia nello script o nel flash. Riporto la parte di codice AS, secondo voi è corretta?
codice:// application filename extension fileExtension = ".ppx"; // default drawing server foldercould be based on user name fileFolder = "PenPadDrawings"; // saving filename requires Windows path (with backslash) double backslash required since one is considered escape char saveSeperator = "\\"; var resultXML = new XML(); resultXML.ignoreWhite = true; resultXML.onLoad = verifySave; var URL = "http://localhost/"; // filename contains the user's name for the file URL += "saveDrawing.aspx?filename="; URL += escape(fileFolder + saveSeperator + filename + fileExtension); // shapesFile is the completed XML file shapesFile.sendAndLoad(URL,resultXML);

Rispondi quotando