Run/Terminate copying user files
i uing flash builder 4.0.1 under windows 7.
my application has user files in documentsdirectory (the program reads , writes files in subdirectory of "my documents"...):
var trfile:file = file.documentsdirectory.resolvepath(name);
var fs:filestream = new filestream();
fs.open(trfile, filemode.write);
_buff = ever ...
fs.writeutfbytes(_buff);
when stop program run/terminate, flex/flash debug copies on files in (user directory). why happening? how can stop doing so?
thanks
i thought i'd clarify question:
my program writes files. while in debugger (after sw has written adn closed files), changes program made seen (if view files). however, when terminate debugging session (via run/terminate), files content reverts previous state. flash builder restoring files: how prevent doing so?
thanks
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment