As3.0 Error: Error #2014: Feature is not available at this time.

报错信息:

 Error: Error #2014: Feature is not available at this time.
  at flash.filesystem::File$/initDocumentsDir()
  at flash.filesystem::File$/get documentsDirectoryPath()
  at flash.filesystem::File$/get documentsDirectory()
 
决解方法:
1、打开注册表
     开始->运行,输入regedit。如图:
 
2、点击“确定”
3、进入目录User Shell Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
分别双击Personal、Favorites、My Music,打开编辑字符串对话框,如图:
分别确认三项的数值数据是否如下列所示,若不是,请将下面等号右边的值分别复制给对应的选项
Personal=%USERPROFILE%\Documents
Favorites=%USERPROFILE%\Favorites
My Music=%USERPROFILE%\Music
4、进入目录Shell Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
分别双击Personal、Favorites、My Music,打开编辑字符串对话框
分别确认三项的数值数据是否如下列所示,若不是,请将下面等号右边的值分别复制给对应的选项
Personal=C:\Users\Administrators\Documents
Favorites=C:\Users\Administrators\Favorites
My Music=C:\Users\Administrators\Music
posted @ 2017-11-16 18:22  love _荣  阅读(550)  评论(0编辑  收藏  举报