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

報錯信息:this

 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()
 
決解方法:
一、打開註冊表
     開始->運行,輸入regedit。如圖:
 
二、點擊「肯定」
三、進入目錄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
四、進入目錄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
相關文章
相關標籤/搜索