2014-05-07 34 views
0

這是我在Flash中的第一個項目,我遇到了問題。 我已經下載了一些代碼,當我試圖建立它,我得到一個錯誤:閃存編譯錯誤 - 定義***無法找到

Error: Definition flash.globalization:LocaleID could not be found. 

     import flash.globalization.LocaleID; 

如何查找/添加這個缺少的東西/包?

回答

0

好的。我發現它:

To do that in FB, you need to go to the Properties of the project, select ActionScript Compiler and make it to use 10.1.0 for the Flash Player... The default is set to 10.0.0, so just change it to 10.1.0 and you should be able to import flash.globalization package...

來源:http://www.actionscript.org/forums/showthread.php3?t=250709&page=2

+0

修訂來源:http://www.actionscript.org/forums/flex-2-3-and-4-a/250709-cant-import -flash全球化,package.html的 – Filious

相關問題