Adobe AIR的的FileStream错误#3013:文件或目录在使用中 [英] Adobe Air FileStream Error #3013: File or directory is in use

查看:323
本文介绍了Adobe AIR的的FileStream错误#3013:文件或目录在使用中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

做了谷歌搜索,并在这里 <一href="http://stackoverflow.com/questions/8588493/an-error-3013-thrown-when-writing-a-file-adobe-air">an写文件的Adobe AIR 时错误3013甩 但还没有找到一个解决办法

Did a search on google and here an error 3013 thrown when writing a file Adobe AIR but haven't found a solution yet

使用FILESTREAM类打开,然后将文件写入到ApplicationStorage目录

Using the Filestream class to simply open and write a file to the ApplicationStorage directory

这工作正常的Mac OSX。但是,当在Windows中,我得到了以下错误

This works fine on Mac-OSX. But when in Windows I get the following error

Error: Error #3013: File or directory is in use.
    at flash.filesystem::FileStream/open()

我在实际文件检查权限和两个封闭目录,似乎并不成为问题。

I've checked permissions both on the actual file and enclosing directory and that doesn't seem to be the problem.

任何人都可以提出解决方案或故障排除步骤?

Can anyone suggest a solution or troubleshooting steps?

推荐答案

一切都指向安全权限问题,但双重检查和权限都很好

Everything pointed to security-permissions issue, but double checked and permissions are fine

在很多使用Google和头部刮伤碰到这个帖子里面解决了这个问题 <一href="http://www.davidmillington.net/news/index.php/2009/09/14/actionscript-3-error-3013-file-or-direct" rel="nofollow">http://www.davidmillington.net/news/index.php/2009/09/14/actionscript-3-error-3013-file-or-direct

After much googling and head scratching came across this post which solved the problem http://www.davidmillington.net/news/index.php/2009/09/14/actionscript-3-error-3013-file-or-direct

有一个轻微的延迟,需要使用FileStream类打开,写入,收盘前。 此外,仅适用于Windows!

A slight delay is needed BEFORE using the FileStream class to open, write, close. Again, Windows only!

这篇关于Adobe AIR的的FileStream错误#3013:文件或目录在使用中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆