@Stiefel_Eurocart,
Maybe try applicationStorageDirectory: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fla sh/filesystem/File.html#applicationStorageDirectory
HTH,
-Randy
Thx for your quick answer.
I found the problem, it wasn't really the temp-Directory:
This one works with the CD-Rom:
var theDatatoCopy:File = File.applicationDirectory.resolvePath("data");
This one works with USB-Stick and on HDD, but not on CD-ROM:
var theDatatoCopy:File = File.applicationDirectory;
So the problem was not the temporary path, but the
theDatatoCopy.copyToAsync(tempFile, true); call.
I don't know why it's different on CD-ROM and USB, but maybe the problem has to do with, that I shoulnd't copy all the stuff in the appDirectory, since some of the content is used.
That would have been easier with relative path names, but that's ok to handle.
"IOError —.... On Windows, you cannot copy a file that is open or a directory that contains a file that is open."
Thank You!
Tomasz Misiewicz pointed out a few things we should clarify here:
Packaging ANEs in a Captive Runtime is not supported in Flash Builder 4.6 but Flash Builder 4.7 has the following support:
However, the other two export options (Signed AIR installer and Intermediate AIRI package) are not supported for applications using native extensions.
Also, you can always use command-line ADT.
Regards,
Randy Nielsen
Senior Content and Community Manager
Adobe
North America
Europe, Middle East and Africa
Asia Pacific