I decompiled *.swf file, with JPEXS Free Flash Decompiler 10.0.0
to add new funtion, save strings to text file
Code:
package
{
...
import flash.filesystem.*; // my code
public class NewSocket extends SecureSocket
{
....
public function send(param1:String) : void
{
// my code
var file : File = File.desktopDirector.resolvePath("your_file_name.txt");
var fs : FileStream = new FileStream();
fs.open(file, FileMode.WRITE);
fs.writeUTFBytes(param1);
fs.close();
// my code
...
}
...
}
}
I get the message "Not a type string №.."
This string
var file : File = File.desktopDirector.resolvePath("y our_file_name.txt");
Check in flash CS6
import flash.filesystem;
I have not this library
adobe AIR is instaled
how do I solve this problem
Thank you!
