解决FLASHCS5代码提示无效的方法_…
2014-02-07 17:03
309 查看
1.
关于代码提示的快捷键,默认是Ctrl+Spacebar,但是在大部分中文用户的机器上,这是切换输入法的快捷键,这会导致代码提示的快捷键不起作用,所以建议在Edit->Keyboard
shortcut中,为代码提示指定另外一个快捷键,例如Ctrl+Alt+Spacebar。
2.
试一试把你的fla文件拷贝到一个空文件夹中再重启Flash看看,因为如果你的fla文件所在目录有太多文件,比如在桌面上或是我的文档中,代码提示的cache可能会创建失败。
3.
如果你在动作面板右下角看到了一个警告的图标,说明Flash在你的项目classpath找到太多的文件了,有可能也会导致对你的自定义类的代码提示失效。建议在ActionScript设置中,classpath指定到具体的文件夹路径,最好不要是一个包含太多子路径的高层文件夹。
4. 试着重设一下你的代码提示cache。 先退出Flash,然后删除以下文件夹:
Win Vista/Win7:
C:\Users\username\AppData\Local\Adobe\Flash
CS5\language\Configuration\CodeModel
Win XP:
C:\Documents and Settings\username\Local Settings\Application
Data\Adobe\Flash
CS5\language\Configuration\CodeModel
Mac:
/Users/username/Library/Application Support/Adobe/Flash
CS5/language/Configuration/CodeModel
我用的是FLASH CS5.5
绿色版,对于我以上4种方法都不适用,我用第5种方法解决了问题
1、进入注册表,找到HKEY_CURRENT_USER
> Software > Adobe >
Flash 11 > Settings选项
2、如果找到Project
File Cap选项直接修改,如果没有就新建
3、修改Project
File Cap选项中的16进制或10进制的值为1000,我只是将16进制的值改为1000
4、确定并重启FLASH,这样代码提示就出来了
原文:
Windows:
Open Regedit and navigate to: HKEY_CURRENT_USER
> Software > Adobe >
Flash 11 > Settings
Right+click and choose: ‘New… > DWORD
Value’
Rename the key: Project File Cap
Select the key and choose: ‘Modify’
Edit the value as either hex or decimal: 1000
Click OK and restart Flash
Mac:
Open
/Users/<username>/Library/Preferences/Flash
CS5 Preferences in Text Edit
Under the <settings> section add
the following:
<project_file_cap>1000</project_file_cap>
Save the file and restart Flash
What should you set it at? Well if you are good about saving
your FLA files into their own folders, then it doesn’t really
matter. I would try 5000 and see if that works. You can always
change it back. Adobe is working on an official TechNote about this
too.
关于代码提示的快捷键,默认是Ctrl+Spacebar,但是在大部分中文用户的机器上,这是切换输入法的快捷键,这会导致代码提示的快捷键不起作用,所以建议在Edit->Keyboard
shortcut中,为代码提示指定另外一个快捷键,例如Ctrl+Alt+Spacebar。
2.
试一试把你的fla文件拷贝到一个空文件夹中再重启Flash看看,因为如果你的fla文件所在目录有太多文件,比如在桌面上或是我的文档中,代码提示的cache可能会创建失败。
3.
如果你在动作面板右下角看到了一个警告的图标,说明Flash在你的项目classpath找到太多的文件了,有可能也会导致对你的自定义类的代码提示失效。建议在ActionScript设置中,classpath指定到具体的文件夹路径,最好不要是一个包含太多子路径的高层文件夹。
4. 试着重设一下你的代码提示cache。 先退出Flash,然后删除以下文件夹:
Win Vista/Win7:
C:\Users\username\AppData\Local\Adobe\Flash
CS5\language\Configuration\CodeModel
Win XP:
C:\Documents and Settings\username\Local Settings\Application
Data\Adobe\Flash
CS5\language\Configuration\CodeModel
Mac:
/Users/username/Library/Application Support/Adobe/Flash
CS5/language/Configuration/CodeModel
我用的是FLASH CS5.5
绿色版,对于我以上4种方法都不适用,我用第5种方法解决了问题
1、进入注册表,找到HKEY_CURRENT_USER
> Software > Adobe >
Flash 11 > Settings选项
2、如果找到Project
File Cap选项直接修改,如果没有就新建
3、修改Project
File Cap选项中的16进制或10进制的值为1000,我只是将16进制的值改为1000
4、确定并重启FLASH,这样代码提示就出来了
原文:
Windows:
Open Regedit and navigate to: HKEY_CURRENT_USER
> Software > Adobe >
Flash 11 > Settings
Right+click and choose: ‘New… > DWORD
Value’
Rename the key: Project File Cap
Select the key and choose: ‘Modify’
Edit the value as either hex or decimal: 1000
Click OK and restart Flash
Mac:
Open
/Users/<username>/Library/Preferences/Flash
CS5 Preferences in Text Edit
Under the <settings> section add
the following:
<project_file_cap>1000</project_file_cap>
Save the file and restart Flash
What should you set it at? Well if you are good about saving
your FLA files into their own folders, then it doesn’t really
matter. I would try 5000 and see if that works. You can always
change it back. Adobe is working on an official TechNote about this
too.
相关文章推荐
- Win8系统提示无效的产品密钥错误代码0x80070424的故障分析及解决方法
- Eclipse 代码提示无效的解决方法
- win8/8.1系统无法安装驱动怎么办?win8/8.1系统安装驱动提示“数据无效”的解决方法
- myeclipse 6 代码提示(alt+/)不提示的解决方法
- Eclipse的代码提示很慢得解决方法
- xcode 代码颜色高亮,智能提示的问题以及解决方法
- [Jenkins]admin用户登陆,提示登陆无效(之前登陆OK,三天没有登陆,突然提示登陆无效,重启无法解决)的解决方法
- ADSL拨号提示错误 代码分析及解决方法
- Win7系统连接宽带失败提示错误代码1717的解决方法
- win8系统宽带连接提示错误628代码的故障原因及解决方法
- Win8系统无法完成更新提示错误代码800F0922的三种解决方法
- zendstudio在写代码的时候不提示,写常用的函数或者其他的东西都没提示的解决方法
- Zend Studio for Eclipse代码提示功能消失的解决方法
- xcode 代码不高亮 不提示语法错误 解决方法
- Win8系统应用商店安装软件提示错误代码0x80070585的故障原因及解决方法
- ASP.NET中母版页引用外部js或css文件无效,提示对象未定义解决方法
- asp.net下CKFinder IE9以下浏览器中上传图片文件时提示“无效文件名或文件夹名称”的解决方法
- myeclipse安装flex插件后代码无自动提示及自动补全无效的解决办法
- mysql提示错误代码1045什么问题原因怎么办?解决方法
- Asp.net2005控件重命名时提示“目录名无效”的解决方法