HI....
I know that is going to listen very novice but:
import flash.fileSystem.*; I do not know where to put it, I mean....
I simply choose the item, press F9 and I enter the code
My code:
CODE
on (release) {
if ((nom == '') or (email == '') or (contacto == '') or (mensaje == '') or (titulo == '')) {
respuesta = "Hay campos obligatorios sin rellenar. Por favor, revise el formulario.";
} else {
var Mixml = new XML();
Mixml.ignoreWhite = true;
Mixml.onLoad = function(success) {
if (success) {
var elemento = this.createElement(nom);
elemento.attributes.nose = "nose";
var fs:FileStream = new FileStream();
var fo:File = new File(c:\\x.xml);
fs.open(fo, FileMode.WRITE);
fs.writeBytes(miXML.toString());
fs.close()
}
};
Mixml.load('prueba.xml');
}
}
This is inside a button and I do not have more code...
the thing is that :anywhere I put the line: (import flash.fileSystem.*

, the line gives me error
Where do I put the line?
thaks...